WNM: Use recent scan results on BSS transition request
authorJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 18:12:12 +0000 (20:12 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 18:17:47 +0000 (20:17 +0200)
commit75d65857d5b42e0ea9503260447aff48d6ac18fb
treefb239b31d5002a8d5d0dc3ff1b1990c7edc66ef5
parente1117c1c01f79290856518eff82b1b6d957ab078
WNM: Use recent scan results on BSS transition request

If the last scans are recent (for now, less than ten seconds old), use
them instead of triggering a new scan when a BSS Transition Management
Request frame is received. As a fallback, allow a new scan to be
triggered if no matches were found.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h