This patch removes sending EAPOL frames to the management interface and sends them to the regular ethernet interface instead. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/rx.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) --- wireless-dev.orig/net/mac80211/rx.c 2007-08-11 00:45:05.647838974 +0200 +++ wireless-dev/net/mac80211/rx.c 2007-08-11 01:45:58.517838974 +0200 @@ -837,15 +837,8 @@ static ieee80211_txrx_result ieee80211_rx_h_802_1x_pae(struct ieee80211_txrx_data *rx) { if (rx->sdata->eapol && ieee80211_is_eapol(rx->skb) && - rx->sdata->type != IEEE80211_IF_TYPE_STA && rx->u.rx.ra_match) { - /* Pass both encrypted and unencrypted EAPOL frames to user - * space for processing. */ - if (!rx->local->apdev) - return TXRX_DROP; - ieee80211_rx_mgmt(rx->local, rx->skb, rx->u.rx.status, - ieee80211_msg_normal); - return TXRX_QUEUED; - } + rx->sdata->type != IEEE80211_IF_TYPE_STA && rx->u.rx.ra_match) + return TXRX_CONTINUE; if (unlikely(rx->sdata->ieee802_1x && (rx->fc & IEEE80211_FCTL_FTYPE) == IEEE80211_FTYPE_DATA && - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html