From: Jouni Malinen Date: Thu, 19 Nov 2015 18:32:04 +0000 (+0200) Subject: FT auth: Fix EAPOL reauthentication after FT protocol run X-Git-Tag: hostap_2_6~1379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f68d491b0a25b6fc69be24b593975fbd0fe8bac9;p=thirdparty%2Fhostap.git 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 --- 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 */