summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/300-pending_work.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-21 20:34:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-21 20:34:33 +0000
commitb510eebeceaf9322e9892499da86e731b9d924f7 (patch)
tree96f1845bf39d82f648ddd79813e1a8daa7b7032a /package/mac80211/patches/300-pending_work.patch
parent075618c6e3539b04634cf67a537140c6083f6c72 (diff)
downloadmtk-20170518-b510eebeceaf9322e9892499da86e731b9d924f7.zip
mtk-20170518-b510eebeceaf9322e9892499da86e731b9d924f7.tar.gz
mtk-20170518-b510eebeceaf9322e9892499da86e731b9d924f7.tar.bz2
ath9k: merge a tkip related stability fix
SVN-Revision: 31428
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r--package/mac80211/patches/300-pending_work.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 9fc2e2c..333cda5 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -802,3 +802,13 @@
#include "dev.h"
#include "decl.h"
+--- a/drivers/net/wireless/ath/ath9k/recv.c
++++ b/drivers/net/wireless/ath/ath9k/recv.c
+@@ -812,6 +812,7 @@ static bool ath9k_rx_accept(struct ath_c
+ is_valid_tkip = rx_stats->rs_keyix != ATH9K_RXKEYIX_INVALID &&
+ test_bit(rx_stats->rs_keyix, common->tkip_keymap);
+ strip_mic = is_valid_tkip && ieee80211_is_data(fc) &&
++ ieee80211_has_protected(fc) &&
+ !(rx_stats->rs_status &
+ (ATH9K_RXERR_DECRYPT | ATH9K_RXERR_CRC | ATH9K_RXERR_MIC |
+ ATH9K_RXERR_KEYMISS));