staging: rtl8192e: Remove RX: IEEE802.1X EAPOL frame! warning.

RX will receive countless EAPOL frames over the life of the connection.

A number of conditional calls to rtllib_is_eapol_frame are made in this function.

So this call serves no purpose other than to spam logs with false warning that
it is indeed a EAPOL frame, remove it.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2017-05-13 17:41:17 +01:00 committed by Greg Kroah-Hartman
parent 814f3be22e
commit 8f931dcd0c

View File

@ -1214,9 +1214,6 @@ static int rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb,
return -1;
}
if (rtllib_is_eapol_frame(ieee, skb, hdrlen))
netdev_warn(ieee->dev, "RX: IEEE802.1X EAPOL frame!\n");
return 0;
}