Restart PNO/sched_scan on channel list update
authorArik Nemtsov <arik@wizery.com>
Tue, 27 Sep 2016 10:09:58 +0000 (13:09 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 Sep 2016 19:45:03 +0000 (22:45 +0300)
commitebf59eb549827ecfb7a42281721a1af9cfa0d7a1
treec7834372cb233ce539f2dee1c32f96ebd0b74f01
parent746e5c2565e28a8659052e63012647bda4cc6443
Restart PNO/sched_scan on channel list update

As the scan channels might need to change when the channel list has been
updated by the kernel. Use the simulated sched_scan timeout
(wpas_scan_restart_sched_scan()) to handle a possible race where an
ongoing sched_scan has stopped asynchronously while trying to restart a
new sched_scan.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
wpa_supplicant/events.c