diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-21 20:34:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-21 20:34:33 +0000 |
commit | b510eebeceaf9322e9892499da86e731b9d924f7 (patch) | |
tree | 96f1845bf39d82f648ddd79813e1a8daa7b7032a /package/mac80211/patches/300-pending_work.patch | |
parent | 075618c6e3539b04634cf67a537140c6083f6c72 (diff) | |
download | master-31e0f0ae-b510eebeceaf9322e9892499da86e731b9d924f7.tar.gz master-31e0f0ae-b510eebeceaf9322e9892499da86e731b9d924f7.tar.bz2 master-31e0f0ae-b510eebeceaf9322e9892499da86e731b9d924f7.zip |
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.patch | 10 |
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 9fc2e2c0ef..333cda5a4d 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)); |