hostapd: update to latest git version
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 740-group_key_timeout.patch
1 --- a/src/ap/wpa_auth.c
2 +++ b/src/ap/wpa_auth.c
3 @@ -1330,7 +1330,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;