WPS: Use latest updated BSS entry if multiple BSSID matches found
authorJouni Malinen <j@w1.fi>
Sun, 31 Mar 2013 14:15:39 +0000 (17:15 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 31 Mar 2013 15:05:42 +0000 (18:05 +0300)
commit702621e6dd35360543974f3674f59dcbdd1ce1af
tree17f849a6a24e53e251d3a4197ebf03e0dcd730af
parent347c77e6cc363b63313454ce658381d13b9f71a5
WPS: Use latest updated BSS entry if multiple BSSID matches found

If the AP (P2P GO) has changes its channel of SSID recently, the BSS
table may have multiple entries for a BSSID. Select the one which was
most recently updated for WPS/P2P operations in such case to increase
the likelihood of using current information.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/bss.c
wpa_supplicant/bss.h
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wps_supplicant.c