]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add EAPOL-4WAY-HS-COMPLETED indication to AP
authorJouni Malinen <jouni@codeaurora.org>
Mon, 1 Feb 2021 15:08:52 +0000 (17:08 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 11 May 2021 18:13:56 +0000 (21:13 +0300)
This makes it easier for test scripts to track completion of 4-way
handshake from hostapd, e.g., when going through PTK rekeying.

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

index 9655cd5221d0a8314d48c5f2461a8e84b875f28b..83805681ed978423ccbb0294798392b8105ac83d 100644 (file)
@@ -3694,6 +3694,8 @@ SM_STATE(WPA_PTK, PTKINITDONE)
        wpa_auth_vlogger(sm->wpa_auth, sm->addr, LOGGER_INFO,
                         "pairwise key handshake completed (%s)",
                         sm->wpa == WPA_VERSION_WPA ? "WPA" : "RSN");
+       wpa_msg(sm->wpa_auth->conf.msg_ctx, MSG_INFO, "EAPOL-4WAY-HS-COMPLETED "
+               MACSTR, MAC2STR(sm->addr));
 
 #ifdef CONFIG_IEEE80211R_AP
        wpa_ft_push_pmk_r1(sm->wpa_auth, sm->addr);