linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath9k:  Don't delete key from hw if using sw-crypt.
@ 2012-04-02 20:41 greearb
  2012-04-03 13:16 ` Felix Fietkau
  0 siblings, 1 reply; 6+ messages in thread
From: greearb @ 2012-04-02 20:41 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ben Greear

From: Ben Greear <greearb@candelatech.com>

This spams logs if we are using large numbers of stations,
for instance:

ath: wiphy0: keyreset: keycache entry 228 out of range
ath: wiphy0: keyreset: keycache entry 228 out of range

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
:100644 100644 917032a... 65e7281... M	drivers/net/wireless/ath/ath9k/main.c
 drivers/net/wireless/ath/ath9k/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 917032a..65e7281 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1771,6 +1771,9 @@ static void ath9k_del_ps_key(struct ath_softc *sc,
 	if (!an->ps_key)
 	    return;
 
+	if (ath9k_modparam_nohwcrypt)
+		return;
+
 	ath_key_delete(common, &ps_key);
 }
 
-- 
1.7.3.4


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

end of thread, other threads:[~2012-04-04 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 20:41 [PATCH] ath9k: Don't delete key from hw if using sw-crypt greearb
2012-04-03 13:16 ` Felix Fietkau
2012-04-03 14:44   ` Ben Greear
2012-04-03 16:05     ` Felix Fietkau
2012-04-03 16:09       ` Ben Greear
2012-04-04 11:56         ` Felix Fietkau

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).