diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-08-22 15:04:04 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2011-08-22 15:04:04 -0700 |
commit | e25ba1592df19d46a7a1e1a1fca1fb02ebd7be8f (patch) | |
tree | be829d52ec9b0f3b417e4b014d4c78f8eed6ac2b | |
parent | d3974db87d2f0819ddaa85275069b889ea93f230 (diff) | |
download | wpa_supplicant_8-e25ba1592df19d46a7a1e1a1fca1fb02ebd7be8f.tar.gz |
Fix reporting hidden APs during scan
Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | wpa_supplicant/scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index f2f72270..69fa99f9 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -337,12 +337,14 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx) wpa_s->connect_without_scan = NULL; wpa_supplicant_assoc_try(wpa_s, ssid); return; +#ifndef ANDROID } else if (wpa_s->conf->ap_scan == 2) { /* * User-initiated scan request in ap_scan == 2; scan with * wildcard SSID. */ ssid = NULL; +#endif } else { struct wpa_ssid *start = ssid, *tssid; int freqs_set = 0; |