Deplete scan request if new time is less than remaining
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 11 Nov 2013 19:13:17 +0000 (11:13 -0800)
committerJouni Malinen <j@w1.fi>
Sun, 17 Nov 2013 14:46:58 +0000 (16:46 +0200)
commite2f5a9889a3a2bb8f1eed0cf274c7fbbabe3e9de
tree0e7992272cfe5485f39f417146c71c98a51d53d7
parenta572f0b960fedf20adb5d926df29893f48316f27
Deplete scan request if new time is less than remaining

This avoids pushing out previous scheduled scan requests based on new
events.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
src/utils/eloop.c
src/utils/eloop.h
src/utils/eloop_win.c
wpa_supplicant/scan.c