aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/510-ath9k_handle_keymiss.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-20 01:54:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-20 01:54:01 +0000
commit41872e876522f11895124c072d9f449c34242773 (patch)
tree849c0f5368b73df1ddb966103f656a942fcaff4b /package/mac80211/patches/510-ath9k_handle_keymiss.patch
parentf813a693fd5e07c60c042a0b11ae8e15144fc960 (diff)
downloadupstream-41872e876522f11895124c072d9f449c34242773.tar.gz
upstream-41872e876522f11895124c072d9f449c34242773.tar.bz2
upstream-41872e876522f11895124c072d9f449c34242773.zip
mac80211: update to wireless-testing 2010-07-16
SVN-Revision: 22301
Diffstat (limited to 'package/mac80211/patches/510-ath9k_handle_keymiss.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_handle_keymiss.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-ath9k_handle_keymiss.patch b/package/mac80211/patches/510-ath9k_handle_keymiss.patch
new file mode 100644
index 0000000000..f4ff69b165
--- /dev/null
+++ b/package/mac80211/patches/510-ath9k_handle_keymiss.patch
@@ -0,0 +1,23 @@
+--- 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)
+ rs->rs_status |= ATH9K_RXERR_MIC;
++ else if (ads.ds_rxstatus8 & AR_KeyMiss)
++ rs->rs_status |= ATH9K_RXERR_DECRYPT;
+ }
+
+ return 0;
+--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
++++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
+@@ -616,7 +616,8 @@ int ath9k_hw_process_rxdesc_edma(struct
+ rxs->rs_status |= ATH9K_RXERR_DECRYPT;
+ } else if (rxsp->status11 & AR_MichaelErr) {
+ rxs->rs_status |= ATH9K_RXERR_MIC;
+- }
++ } else if (rxsp->status11 & AR_KeyMiss)
++ rxs->rs_status |= ATH9K_RXERR_DECRYPT;
+ }
+
+ return 0;