Don't start second scan when changing scan interval
authorPontus Fuchs <pontus.fuchs@gmail.com>
Tue, 22 Oct 2013 12:57:21 +0000 (15:57 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 22 Oct 2013 12:57:21 +0000 (15:57 +0300)
commitc6f5dec9c10ecddb419227acbb7860c44991029d
treee3c142504dfa521ab9bb388fdfbb7a163e63d2a1
parentcd3b0700df3cdbe6f5db89b7502cb4dd374375ca
Don't start second scan when changing scan interval

If a scan is currently running and the scan interval is changed, a
second scan will be started before the current has finished. This will
in turn, if no networks are configured, cause wpa_s->state to be
forced to WPA_INACTIVE before the first scan has finished.

Signed-hostap: Pontus Fuchs <pontus.fuchs@gmail.com>
wpa_supplicant/scan.c