From 39e04835e6cbdeb0d20697ca04604faeb259b32b Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Mon, 22 Aug 2011 15:04:04 -0700 Subject: [PATCH] Fix reporting hidden APs during scan Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817 Signed-off-by: Dmitry Shmidt --- wpa_supplicant/scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index 4676d6664..2d767a38f 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -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; -- 2.47.2