aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-06-24 04:23:43 (GMT)
committerJouni Malinen <j@w1.fi>2005-06-24 04:23:43 (GMT)
commit2d78af453d1d2f6cd2a383224cd224ff3140a376 (patch)
tree71bc92497a0aa4d5966dda0eb2d617dd67c89460
parent517520de5e5d9ab26d9e113bbb4822e9603fc682 (diff)
downloadhostap-history-2d78af453d1d2f6cd2a383224cd224ff3140a376.zip
hostap-history-2d78af453d1d2f6cd2a383224cd224ff3140a376.tar.gz
hostap-history-2d78af453d1d2f6cd2a383224cd224ff3140a376.tar.bz2
Use dot11RSNAConfigSATimeout as the pre-auth timeout instead of
hardcoded 60.
-rw-r--r--wpa_supplicant/preauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/preauth.c b/wpa_supplicant/preauth.c
index 114dcfb..40614c5 100644
--- a/wpa_supplicant/preauth.c
+++ b/wpa_supplicant/preauth.c
@@ -649,7 +649,8 @@ int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct wpa_ssid *config)
/* 802.1X::portControl = Auto */
eapol_sm_notify_portEnabled(sm->preauth_eapol, TRUE);
- eloop_register_timeout(60, 0, rsn_preauth_timeout, sm, NULL);
+ eloop_register_timeout(sm->dot11RSNAConfigSATimeout, 0,
+ rsn_preauth_timeout, sm, NULL);
return 0;
}