WNM: Fetch scan results before checking transition candidates
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>
Thu, 21 Apr 2016 11:29:56 +0000 (16:59 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 23 Apr 2016 14:12:16 +0000 (17:12 +0300)
commit2f195639ec9a568d0758c41d39f3358d3efbcbbf
treef42497cef4e16eebbdcd29045d9c32ed0c539dda
parent49ae6ddbca153299b4d7c0fa89a5274dfe9c8e1f
WNM: Fetch scan results before checking transition candidates

On receiving a WNM BSS Transition Management Request frame with a
candidate list, fetch the latest scan results from the kernel to see if
there are any recent scan results for the candidates and initiate a
connection if found. This helps to avoid triggering a new scan in cases
where a scan initiated by something else (e.g., an internal beacon
measurement report functionality in a driver) has processed Beacon or
Probe Response frames without wpa_supplicant having received a
notification of such an update yet.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/scan.c
wpa_supplicant/scan.h
wpa_supplicant/wnm_sta.c