Clear current_bss pointer on disassociation/deauthentication
authorJouni Malinen <j@w1.fi>
Sat, 27 Feb 2010 16:40:25 +0000 (18:40 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 27 Feb 2010 16:40:25 +0000 (18:40 +0200)
commitbe8be6717d0fc9568b436826453ed8541a017f5b
tree7cc60ecf48eab7cff9d85e91998a26ae37471dc4
parent159dd3e28ae4c3a13ab39738ed91a3292dd4cf9e
Clear current_bss pointer on disassociation/deauthentication

This is needed to allow the BSS table entry for the previously used
BSS to be removed. Now wpa_bss_in_use() can return 0 for the last BSS
that was used as soon as deauthentication/disassociation event has been
received.
wpa_supplicant/events.c