]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FT: Start PTK rekey timer on FT protocol completion
authorJouni Malinen <jouni@codeaurora.org>
Thu, 18 Apr 2019 22:11:41 +0000 (01:11 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Apr 2019 22:12:29 +0000 (01:12 +0300)
This is needed to trigger PTK rekeying properly for associations started
with FT protocol.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/wpa_auth.c

index fe0f85d8eeec752b2db969a0c10500f03a94f6fa..a956e527b6810161ed67a7075bae66326853a8b2 100644 (file)
@@ -1783,6 +1783,7 @@ int wpa_auth_sm_event(struct wpa_state_machine *sm, enum wpa_event event)
 
                /* Using FT protocol, not WPA auth state machine */
                sm->ft_completed = 1;
+               wpa_auth_set_ptk_rekey_timer(sm);
                return 0;
 #else /* CONFIG_IEEE80211R_AP */
                break;