From 57925304964337640c7d15aeef08d3bf22216485 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 29 Jul 2011 09:42:49 +0000 Subject: [PATCH] hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame (backport of r27822) git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@27824 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/patches/770-group_key_timeout.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/hostapd/patches/770-group_key_timeout.patch 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 000000000..a41a89bed --- /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; -- 2.35.1