openwrtv4/package/hostapd/patches/740-group_key_timeout.patch
Felix Fietkau c8321c3ca6 hostapd: update to latest git version
SVN-Revision: 28746
2011-11-04 01:05:26 +00:00

11 lines
379 B
Diff

--- a/src/ap/wpa_auth.c
+++ b/src/ap/wpa_auth.c
@@ -1330,7 +1330,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;