Make wpa_supplicant FLUSH command more likely to clear all BSS entries
authorJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 13:39:48 +0000 (15:39 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 13:39:48 +0000 (15:39 +0200)
commit6c699913824eae0ac140a2063a80f1a5136d9ec4
treef6f55f8e82ea6e48ead6c2885cd6fae44bdb14a4
parent2dbe63ad53ffcf76d195c842cd622fed7351f84b
Make wpa_supplicant FLUSH command more likely to clear all BSS entries

Move the wpa_bss_flush() call to the end of the function to allow any
pending user of a BSS entry to be cleared before removing the unused
entries. There were number of cases where BSS entries could have been
left in the list and this resulted in some hwsim test failures.

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