From: Ben Greear <greearb@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> --- :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 -- 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