diff options
author | sam <sam@FreeBSD.org> | 2005-06-05 22:41:14 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-06-05 22:41:14 +0000 |
commit | eb7b540c922bc88123e7df70c4059596d899dbcc (patch) | |
tree | f96a92b0c5e547f1c6327d3723d966d19db632e8 /contrib/hostapd/wpa.c | |
parent | 8e870af29caa54c0b7db4f281d2aff58a0e13121 (diff) | |
download | FreeBSD-src-eb7b540c922bc88123e7df70c4059596d899dbcc.zip FreeBSD-src-eb7b540c922bc88123e7df70c4059596d899dbcc.tar.gz |
apply important fixes from development branch
Diffstat (limited to 'contrib/hostapd/wpa.c')
-rw-r--r-- | contrib/hostapd/wpa.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/contrib/hostapd/wpa.c b/contrib/hostapd/wpa.c index 8beab8d..e357a85 100644 --- a/contrib/hostapd/wpa.c +++ b/contrib/hostapd/wpa.c @@ -11,6 +11,8 @@ * license. * * See README and COPYING for more details. + * + * $FreeBSD$ */ #include <stdlib.h> @@ -1945,20 +1947,6 @@ void wpa_sm_event(struct hostapd_data *hapd, struct sta_info *sta, break; } - if ((event == WPA_ASSOC || event == WPA_REAUTH) && - sta->eapol_sm && sta->pmksa) { - hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_WPA, - HOSTAPD_LEVEL_DEBUG, - "PMK from PMKSA cache - skip IEEE 802.1X/EAP"); - /* Setup EAPOL state machines to already authenticated state - * because of existing PMKSA information in the cache. */ - sta->eapol_sm->keyRun = TRUE; - sta->eapol_sm->keyAvailable = TRUE; - sta->eapol_sm->auth_pae.state = AUTH_PAE_AUTHENTICATING; - sta->eapol_sm->be_auth.state = BE_AUTH_SUCCESS; - sta->eapol_sm->authSuccess = TRUE; - } - sm->PTK_valid = FALSE; memset(&sm->PTK, 0, sizeof(sm->PTK)); |