]> 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>
Fri, 1 Nov 2013 14:36:25 +0000 (16:36 +0200)
Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
wpa_supplicant/scan.c

index 786549154eab105e3a49dc64419cd2cc397f9a35..a2584bd31cdc430d22fb5fe800dab52ef1aa2e00 100644 (file)
@@ -679,12 +679,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;