diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 09:40:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 09:40:19 +0000 |
commit | 3712ca3f9b001bc1adfc1cab28c56676ecbfa871 (patch) | |
tree | 1e5367c6882ac9b42235ef1c0f243a9caade1143 /package | |
parent | 2e339a64660df0231c39d7dfe47bc92b270902d0 (diff) | |
download | master-31e0f0ae-3712ca3f9b001bc1adfc1cab28c56676ecbfa871.tar.gz master-31e0f0ae-3712ca3f9b001bc1adfc1cab28c56676ecbfa871.tar.bz2 master-31e0f0ae-3712ca3f9b001bc1adfc1cab28c56676ecbfa871.zip |
hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
SVN-Revision: 27822
Diffstat (limited to 'package')
-rw-r--r-- | package/hostapd/patches/770-group_key_timeout.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/770-group_key_timeout.patch b/package/hostapd/patches/770-group_key_timeout.patch new file mode 100644 index 0000000000..a41a89bed6 --- /dev/null +++ b/package/hostapd/patches/770-group_key_timeout.patch @@ -0,0 +1,11 @@ +--- a/src/ap/wpa_auth.c ++++ b/src/ap/wpa_auth.c +@@ -1288,7 +1288,7 @@ static void wpa_send_eapol(struct wpa_au + keyidx, encr, 0); + + ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr; +- if (ctr == 1 && wpa_auth->conf.tx_status) ++ if (ctr == 1 && wpa_auth->conf.tx_status && pairwise) + timeout_ms = eapol_key_timeout_first; + else + timeout_ms = eapol_key_timeout_subseq; |