[PATCH] don't continually reschedule specific scans

Jouni Malinen j
Mon Jun 2 10:55:09 PDT 2008


On Mon, Jun 02, 2008 at 01:30:29PM -0400, Dan Williams wrote:

> 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.

This looks reasonable. However, eloop_win.c and eloop_none.c will also
need to be modified to define the new eloop function to avoid breaking
the Windows build and template eloop implementation. I did not test
this, but I would assume that eloop_is_timeout_registered() can simply
be copied as-is to the other eloop implementations since all of them
share very similar data structure for timeouts.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list