aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 09:40:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 09:40:19 +0000
commit63022944e04a0d704e662ad65eccc1f1ded709a8 (patch)
treee3e76c1882f96f24d0ffb00514ccbd58327d1927 /package/hostapd/patches
parent892b77ebe16a053f6266fa79fa2e514214b37341 (diff)
downloadupstream-63022944e04a0d704e662ad65eccc1f1ded709a8.tar.gz
upstream-63022944e04a0d704e662ad65eccc1f1ded709a8.tar.bz2
upstream-63022944e04a0d704e662ad65eccc1f1ded709a8.zip
hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27822 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches')
-rw-r--r--package/hostapd/patches/770-group_key_timeout.patch11
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;