Revert "hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some...
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 770-group_key_timeout.patch
1 --- a/src/ap/wpa_auth.c
2 +++ b/src/ap/wpa_auth.c
3 @@ -1288,7 +1288,7 @@ static void wpa_send_eapol(struct wpa_au
4 keyidx, encr, 0);
5
6 ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;
7 - if (ctr == 1 && wpa_auth->conf.tx_status)
8 + if (ctr == 1 && wpa_auth->conf.tx_status && pairwise)
9 timeout_ms = eapol_key_timeout_first;
10 else
11 timeout_ms = eapol_key_timeout_subseq;