From 1cf5c0f4c8dac74bea2b02e8e15c838ac4236519 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 21 Apr 2012 20:34:33 +0000 Subject: ath9k: merge a tkip related stability fix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31428 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/300-pending_work.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package/mac80211/patches/300-pending_work.patch') diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 9fc2e2c0e..333cda5a4 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)); -- cgit v1.2.3