Browse Source

hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame

SVN-Revision: 27822
Felix Fietkau 14 years ago
parent
commit
3712ca3f9b
1 changed files with 11 additions and 0 deletions
  1. 11 0
      package/hostapd/patches/770-group_key_timeout.patch

+ 11 - 0
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;