[PATCH] Add wpa_supplicant_notify_scanning() if scan is canceled
Jouni Malinen
j
Sat Mar 6 00:56:18 PST 2010
On Fri, Feb 26, 2010 at 10:49:08AM -0800, Dmitry Shmidt wrote:
> There is a situation when scan was scheduled but during association it was
> canceled.
> And we need to change wpa_s->scanning var and notify network manager.
Could you please describe the case where this would be needed in more
detail or send me a debug log (with -ddt on command line) showing a
case where the scanning is indicated, but not cleared?
The code here is canceling the pending scan _request_, not the scan
itself and as such, wpa_supplicant_notify_scanning(wpa_s, 1) should not
have been called yet and as such, there should be no need to call
wpa_supplicant_notify_scanning(wpa_s, 0) either.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list