1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-16 07:48:38 +03:00
openwrt-xburst/package/hostapd/patches/770-group_key_timeout.patch
nbd 03dc915dfe hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 08:23:13 +00:00

12 lines
379 B
Diff

--- 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;