summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/770-group_key_timeout.patch
blob: 3f0bfc33d3e5d33d40ce5d781c24e56b45d5f409 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/ap/wpa_auth.c
+++ b/src/ap/wpa_auth.c
@@ -1290,7 +1290,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;