diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index 66b2d506d..0e29e9f53 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -615,6 +615,7 @@ int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, "start 4-way handshake"); /* Go to PTKINITDONE state to allow GTK rekeying */ sm->wpa_ptk_state = WPA_PTK_PTKINITDONE; + sm->Pair = TRUE; return 0; } #endif /* CONFIG_IEEE80211R_AP */ @@ -625,6 +626,7 @@ int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, "FILS authentication already completed - do not start 4-way handshake"); /* Go to PTKINITDONE state to allow GTK rekeying */ sm->wpa_ptk_state = WPA_PTK_PTKINITDONE; + sm->Pair = TRUE; return 0; } #endif /* CONFIG_FILS */