aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/510-ath9k_handle_keymiss.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/510-ath9k_handle_keymiss.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_handle_keymiss.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/510-ath9k_handle_keymiss.patch b/package/mac80211/patches/510-ath9k_handle_keymiss.patch
index f4ff69b165..c63ad3fcf0 100644
--- a/package/mac80211/patches/510-ath9k_handle_keymiss.patch
+++ b/package/mac80211/patches/510-ath9k_handle_keymiss.patch
@@ -1,8 +1,8 @@
--- a/drivers/net/wireless/ath/ath9k/mac.c
+++ b/drivers/net/wireless/ath/ath9k/mac.c
-@@ -713,6 +713,8 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
- rs->rs_status |= ATH9K_RXERR_DECRYPT;
- else if (ads.ds_rxstatus8 & AR_MichaelErr)
+@@ -714,6 +714,8 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
+ else if ((ads.ds_rxstatus8 & AR_MichaelErr) &&
+ rs->rs_keyix != ATH9K_RXKEYIX_INVALID)
rs->rs_status |= ATH9K_RXERR_MIC;
+ else if (ads.ds_rxstatus8 & AR_KeyMiss)
+ rs->rs_status |= ATH9K_RXERR_DECRYPT;