linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] staging: rtl8192e: Remove RX: IEEE802.1X EAPOL frame! warning.
@ 2017-05-13 16:41 Malcolm Priestley
  2017-05-13 16:41 ` [PATCH 2/5] staging: rtl8192e: print alg name as debug Malcolm Priestley
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Malcolm Priestley @ 2017-05-13 16:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, devel, Malcolm Priestley

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>
---
 drivers/staging/rtl8192e/rtllib_rx.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c
index 43a77745e6fb..0033dc6979e7 100644
--- a/drivers/staging/rtl8192e/rtllib_rx.c
+++ b/drivers/staging/rtl8192e/rtllib_rx.c
@@ -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;
 }
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-13 16:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13 16:41 [PATCH 1/5] staging: rtl8192e: Remove RX: IEEE802.1X EAPOL frame! warning Malcolm Priestley
2017-05-13 16:41 ` [PATCH 2/5] staging: rtl8192e: print alg name as debug Malcolm Priestley
2017-05-13 16:41 ` [PATCH 3/5] staging: rtl8192e: HTSetConnectBwMode message replace with debug Malcolm Priestley
2017-05-13 16:41 ` [PATCH 4/5] staging: rtl8192e: Let user know mac address associated with Malcolm Priestley
2017-05-13 16:41 ` [PATCH 5/5] staging: rtl8192e: _rtl92e_dm_check_edca_turbo remove peername message Malcolm Priestley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).