aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-02-03 19:13:53 (GMT)
committerJouni Malinen <j@w1.fi>2008-02-03 19:13:53 (GMT)
commite164de5e70d2cf6681a75968a655208813fec9ba (patch)
tree4778765c986a7eaa0cd08a1da03e6ef7af7ba1f8
parentbebe76f4bced193a485cb55ac64a46b05276f3e9 (diff)
downloadhostap-history-e164de5e70d2cf6681a75968a655208813fec9ba.zip
hostap-history-e164de5e70d2cf6681a75968a655208813fec9ba.tar.gz
hostap-history-e164de5e70d2cf6681a75968a655208813fec9ba.tar.bz2
Cancel timeout when exiting eapol_test to avoid warnings
-rw-r--r--wpa_supplicant/eapol_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index b98187d..e907a0f 100644
--- a/wpa_supplicant/eapol_test.c
+++ b/wpa_supplicant/eapol_test.c
@@ -1008,6 +1008,9 @@ int main(int argc, char *argv[])
eloop_register_signal_reconfig(eapol_test_terminate, NULL);
eloop_run();
+ eloop_cancel_timeout(eapol_test_timeout, &eapol_test, NULL);
+ eloop_cancel_timeout(eapol_sm_reauth, &eapol_test, NULL);
+
if (eapol_test_compare_pmk(&eapol_test) == 0 ||
eapol_test.no_mppe_keys)
ret = 0;