]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix reporting hidden APs during scan
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 22 Aug 2011 22:04:04 +0000 (15:04 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 24 Nov 2013 20:46:38 +0000 (22:46 +0200)
Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
wpa_supplicant/scan.c

index 4676d6664fdbcb0d154c3032edeca0dd9e4f09b6..2d767a38f322e7d5e56658128489d2390a668621 100644 (file)
@@ -693,12 +693,14 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
                wpa_s->prev_scan_wildcard = 0;
                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;