From f68d491b0a25b6fc69be24b593975fbd0fe8bac9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 19 Nov 2015 20:32:04 +0200 Subject: [PATCH] FT auth: Fix EAPOL reauthentication after FT protocol run The EAPOL AUTH_PAE state machine was left in incomplete state at the completion of FT protocol. Set portValid = TRUE to allow the state machine to proceed from AUTHENTICATING to AUTHENTICATED state, so that a new EAPOL reauthentication can be triggered. Signed-off-by: Jouni Malinen --- src/ap/ieee802_1x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index 68fdb72b1..f5666035a 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -1106,6 +1106,7 @@ void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta) sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS; sta->eapol_sm->authSuccess = TRUE; sta->eapol_sm->authFail = FALSE; + sta->eapol_sm->portValid = TRUE; if (sta->eapol_sm->eap) eap_sm_notify_cached(sta->eapol_sm->eap); /* TODO: get vlan_id from R0KH using RRB message */