aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/hs20_supplicant.c
diff options
context:
space:
mode:
authorAlexandru Costache <alexandru.costache.100@gmail.com>2014-05-12 16:14:55 (GMT)
committerJouni Malinen <j@w1.fi>2014-05-12 16:43:59 (GMT)
commitfb2ac53df19220c63e858354478f2f74087fa0ef (patch)
tree67f07369b977d80e5f066efb895c958216fb4479 /wpa_supplicant/hs20_supplicant.c
parent4162db59aec2956204bd40ca10bd77f4ae939ba5 (diff)
downloadhostap-fb2ac53df19220c63e858354478f2f74087fa0ef.zip
hostap-fb2ac53df19220c63e858354478f2f74087fa0ef.tar.gz
hostap-fb2ac53df19220c63e858354478f2f74087fa0ef.tar.bz2
Remove leftover timeouts on cleanup
Signed-off-by: Alexandru Costache <alexandru.costache.100@gmail.com>
Diffstat (limited to 'wpa_supplicant/hs20_supplicant.c')
-rw-r--r--wpa_supplicant/hs20_supplicant.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/hs20_supplicant.c b/wpa_supplicant/hs20_supplicant.c
index c242c33..ab8b66b 100644
--- a/wpa_supplicant/hs20_supplicant.c
+++ b/wpa_supplicant/hs20_supplicant.c
@@ -920,3 +920,10 @@ void hs20_rx_deauth_imminent_notice(struct wpa_supplicant *wpa_s, u8 code,
now.sec + reauth_delay;
}
}
+
+
+void hs20_deinit(struct wpa_supplicant *wpa_s)
+{
+ eloop_cancel_timeout(hs20_continue_icon_fetch, wpa_s, NULL);
+ hs20_free_osu_prov(wpa_s);
+}