Do not mark BSS entry in use if SSID has changed
authorJingxiang Ge <jge@qti.qualcomm.com>
Tue, 25 Aug 2015 17:31:40 +0000 (20:31 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 26 Aug 2015 13:46:28 +0000 (16:46 +0300)
commit3008d0a6b88de7918b54502dd4b86476535da8b6
tree442397c39c9a369b37a66af019c466009ab901e5
parent2ce741fe0f7335dd8a6ca787d3ad95748e0f8d2f
Do not mark BSS entry in use if SSID has changed

This allows a BSS entry to be expired if the AP has changed its SSID
while maintaining the same BSSID and we are associated with the BSS.
Previously, the same BSSID was enough to mark all BSS entries from the
BSSID as in use regardless of the SSID and as such, they could remain in
the wpa_supplicant BSS table indefinitely as long as the association
remaining.

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