summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-03-01 09:37:00 -0800
committerDmitry Shmidt <dimitrysh@google.com>2013-03-01 09:37:00 -0800
commit14b628a3400b6c36e0604f403dd72553c6fe63c2 (patch)
tree8532f4ab568c646aa615a598bb5f1c984670ad0b /wifi
parentbc086862e216bbe8ffc2dfb68f09a872505d9d48 (diff)
downloadframeworks_base-14b628a3400b6c36e0604f403dd72553c6fe63c2.zip
frameworks_base-14b628a3400b6c36e0604f403dd72553c6fe63c2.tar.gz
frameworks_base-14b628a3400b6c36e0604f403dd72553c6fe63c2.tar.bz2
wifi: Add delimiter flag into bss scan results request
Change-Id: I2989ef1ee884db6add0405f36b628701aa928f69 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiNative.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiNative.java b/wifi/java/android/net/wifi/WifiNative.java
index 9e77b8c..95d3041 100644
--- a/wifi/java/android/net/wifi/WifiNative.java
+++ b/wifi/java/android/net/wifi/WifiNative.java
@@ -210,13 +210,14 @@ public class WifiNative {
* age=2623
* flags=[WPA2-PSK-CCMP][WPS][ESS]
* ssid=zubyb
+ * ====
*
* RANGE=ALL gets all scan results
* RANGE=ID- gets results from ID
* MASK=<N> see wpa_supplicant/src/common/wpa_ctrl.h for details
*/
public String scanResults(int sid) {
- return doStringCommand("BSS RANGE=" + sid + "- MASK=0x1987");
+ return doStringCommand("BSS RANGE=" + sid + "- MASK=0x21987");
}
public boolean startDriver() {