Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ab422bf authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

wifi: Add tdls_discover command to tdls enable call



Bug: 8539031

Change-Id: I29739e74f73b68fbf9ff73cfc19017a01655f9a4
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 7b5c6170
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -371,11 +371,13 @@ public class WifiNative {
    }

    public void startTdls(String macAddr, boolean enable) {
        if (enable)
        if (enable) {
            doBooleanCommand("TDLS_DISCOVER " + macAddr);
            doBooleanCommand("TDLS_SETUP " + macAddr);
        else
        } else {
            doBooleanCommand("TDLS_TEARDOWN " + macAddr);
        }
    }

    /** Example output:
     * RSSI=-65