aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-04-28 19:35:15 (GMT)
committerJouni Malinen <j@w1.fi>2013-04-28 19:35:15 (GMT)
commita8a7890d7c74fd41f2c4e8d57c1c76d0788f2e4f (patch)
tree4719bd8eabb9bf80063913154de699bc43ffab54 /wpa_supplicant/ctrl_iface.c
parent6edaee9c825181da8485576fbe9863477c5deef1 (diff)
downloadhostap-a8a7890d7c74fd41f2c4e8d57c1c76d0788f2e4f.zip
hostap-a8a7890d7c74fd41f2c4e8d57c1c76d0788f2e4f.tar.gz
hostap-a8a7890d7c74fd41f2c4e8d57c1c76d0788f2e4f.tar.bz2
Clear extra_blacklist_count on FLUSH command
This is needed to avoid old blacklist failure counts from being valid after state flush. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index a86239d..a422a7b 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -5059,6 +5059,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
wpa_bss_flush(wpa_s);
wpa_blacklist_clear(wpa_s);
+ wpa_s->extra_blacklist_count = 0;
wpa_supplicant_ctrl_iface_remove_network(wpa_s, "all");
wpa_supplicant_ctrl_iface_remove_cred(wpa_s, "all");
}