From: Jouni Malinen Date: Fri, 8 Oct 2010 12:49:12 +0000 (+0300) Subject: Allow EAPOL frames from pre-authenticating station to be processed X-Git-Tag: hostap-1-bp~924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c926593119c5f98f1d2e151ff2f196a1434bde20;p=thirdparty%2Fhostap.git Allow EAPOL frames from pre-authenticating station to be processed --- diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index a93581678..1c9ee7baf 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -681,9 +681,9 @@ void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf, wpa_printf(MSG_DEBUG, "IEEE 802.1X: %lu bytes from " MACSTR, (unsigned long) len, MAC2STR(sa)); sta = ap_get_sta(hapd, sa); - if (!sta || !(sta->flags & WLAN_STA_ASSOC)) { + if (!sta || !(sta->flags & (WLAN_STA_ASSOC | WLAN_STA_PREAUTH))) { wpa_printf(MSG_DEBUG, "IEEE 802.1X data frame from not " - "associated STA"); + "associated/Pre-authenticating STA"); return; }