From: Jouni Malinen Date: Thu, 18 Apr 2019 22:11:41 +0000 (+0300) Subject: FT: Start PTK rekey timer on FT protocol completion X-Git-Tag: hostap_2_8~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d178ab0d5783ca8ad1a4048c16178b085a3a9f1b;p=thirdparty%2Fhostap.git FT: Start PTK rekey timer on FT protocol completion This is needed to trigger PTK rekeying properly for associations started with FT protocol. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index fe0f85d8e..a956e527b 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -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;