Do not continually reschedule specific scans to help finding hidden SSIDs
authorDan Williams <dcbw@redhat.com>
Tue, 3 Jun 2008 08:37:48 +0000 (11:37 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jun 2008 08:37:48 +0000 (11:37 +0300)
commit7e1488494e0150ee7fdef83355266b5633c5c1b0
tree9484d22fd3eb4698dd871e88eb1521a0da0e2a13
parent8479707beb67c225bbbe89f099cb66699e900622
Do not continually reschedule specific scans to help finding hidden SSIDs

In situations where the driver does background scanning and sends a
steady stream of scan results, wpa_supplicant would continually
reschedule the scan.  This resulted in specific SSID scans never
happening for a hidden AP, and the supplicant never connecting to the AP
because it never got found.  Instead, if there's an already scheduled
scan, and a request comes in to reschedule it, and there are enabled
scan_ssid=1 network blocks, let the scan happen anyway so the hidden
SSID has a chance to be found.
src/utils/eloop.c
src/utils/eloop.h
src/utils/eloop_none.c
src/utils/eloop_win.c
wpa_supplicant/scan.c