aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-10-30 10:43:30 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-30 10:53:20 (GMT)
commit01a174915678b39a2007a8b4b522254afdfc6a21 (patch)
tree962bd699e6ed9ceb0e78ae60e652c490ae5bff10 /src/ap/wpa_auth_glue.c
parente9c3c1afedd2d0c6a0939f40c40701af8c450e1f (diff)
downloadhostap-01a174915678b39a2007a8b4b522254afdfc6a21.zip
hostap-01a174915678b39a2007a8b4b522254afdfc6a21.tar.gz
hostap-01a174915678b39a2007a8b4b522254afdfc6a21.tar.bz2
Fix TKIP countermeasures stopping in deinit paths
The eloop timeout to stop TKIP countermeasures has to be canceled on deinit path to avoid leaving bogus timeouts behind. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index af239c8..d44381d 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -548,6 +548,7 @@ void hostapd_reconfig_wpa(struct hostapd_data *hapd)
void hostapd_deinit_wpa(struct hostapd_data *hapd)
{
+ ieee80211_tkip_countermeasures_deinit(hapd);
rsn_preauth_iface_deinit(hapd);
if (hapd->wpa_auth) {
wpa_deinit(hapd->wpa_auth);