mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:57:32 +02:00
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
This commit is contained in:
parent
746c2a7d3c
commit
1473ce578b
11
package/hostapd/patches/770-group_key_timeout.patch
Normal file
11
package/hostapd/patches/770-group_key_timeout.patch
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user