hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame...
[openwrt-10.03/.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;