wpa_supplicant: Do not allow too short sched scan
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 10 Mar 2013 15:27:48 +0000 (17:27 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 10 Mar 2013 15:27:48 +0000 (17:27 +0200)
commita09fc1ccf882ad4f300e38448734fd4d5400b532
tree18b70bad1c7126614b4dbd1f0178de746b63b5bb
parent214a77b016f831b630a867eec1c9e85f5b18920c
wpa_supplicant: Do not allow too short sched scan

In case that the ssid list is longer than max number of ssids,
ths scheduled scan aborted after timeout and rescheduled again
with shorter timeout and longer interval. In case that the timeout
is shorter than the interval, only one scan iteration will
be run. In this case, go back to the initial values.

Signed-hostap: David Spinadel <david.spinadel@intel.com>
wpa_supplicant/scan.c