summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-10-30 15:17:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-10-30 15:17:56 +0000
commitec3ee0969e6ecf49a2c98ce96f6977906ada0553 (patch)
tree29f379f37176d854bf3d91746b6e9e683590c6ea /package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch
parentf79bae2fc011c8ea553c878dc3f0e09ef9b0217a (diff)
downloadmtk-20170518-ec3ee0969e6ecf49a2c98ce96f6977906ada0553.zip
mtk-20170518-ec3ee0969e6ecf49a2c98ce96f6977906ada0553.tar.gz
mtk-20170518-ec3ee0969e6ecf49a2c98ce96f6977906ada0553.tar.bz2
mac80211: update to wireless-testing 2015-10-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47286
Diffstat (limited to 'package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch')
-rw-r--r--package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch b/package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch
deleted file mode 100644
index bddb15a..0000000
--- a/package/kernel/mac80211/patches/300-ath9k-force-rx_clear-when-disabling-rx.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Felix Fietkau <nbd@openwrt.org>
-Date: Sun, 7 Jun 2015 13:53:35 +0200
-Subject: [PATCH] ath9k: force rx_clear when disabling rx
-
-This makes stopping Rx more reliable and should reduce the frequency of
-Rx related DMA stop warnings
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
----
-
---- a/drivers/net/wireless/ath/ath9k/mac.c
-+++ b/drivers/net/wireless/ath/ath9k/mac.c
-@@ -677,13 +677,15 @@ void ath9k_hw_startpcureceive(struct ath
-
- ath9k_ani_reset(ah, is_scanning);
-
-- REG_CLR_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));
-+ REG_CLR_BIT(ah, AR_DIAG_SW,
-+ AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT | AR_DIAG_FORCE_RX_CLEAR);
- }
- EXPORT_SYMBOL(ath9k_hw_startpcureceive);
-
- void ath9k_hw_abortpcurecv(struct ath_hw *ah)
- {
-- REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_ABORT | AR_DIAG_RX_DIS);
-+ REG_SET_BIT(ah, AR_DIAG_SW,
-+ AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT | AR_DIAG_FORCE_RX_CLEAR);
-
- ath9k_hw_disable_mib_counters(ah);
- }