aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/300-pending_work.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-08-08 18:23:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-08-08 18:23:04 +0000
commit02c27ce8e5211c3a1ebf556d38c8514c40eeacee (patch)
tree1fd527eb061a6cbdfb4406fe53a5900601e7f03c /package/mac80211/patches/300-pending_work.patch
parent97f7084e73841a254f4f05173be602f12e9b9ebc (diff)
downloadupstream-02c27ce8e5211c3a1ebf556d38c8514c40eeacee.tar.gz
upstream-02c27ce8e5211c3a1ebf556d38c8514c40eeacee.tar.bz2
upstream-02c27ce8e5211c3a1ebf556d38c8514c40eeacee.zip
ath9k: fix handling of decryption errors, should improve link stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33063 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r--package/mac80211/patches/300-pending_work.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 97758c4963..9addfa0402 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -3325,6 +3325,22 @@
}
if (ath_beacon_dtim_pending_cab(skb)) {
+@@ -1044,7 +1044,6 @@ int ath_rx_tasklet(struct ath_softc *sc,
+ struct ieee80211_hw *hw = sc->hw;
+ struct ieee80211_hdr *hdr;
+ int retval;
+- bool decrypt_error = false;
+ struct ath_rx_status rs;
+ enum ath9k_rx_qtype qtype;
+ bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
+@@ -1066,6 +1065,7 @@ int ath_rx_tasklet(struct ath_softc *sc,
+ tsf_lower = tsf & 0xffffffff;
+
+ do {
++ bool decrypt_error = false;
+ /* If handling rx interrupt and flush is in progress => exit */
+ if (test_bit(SC_OP_RXFLUSH, &sc->sc_flags) && (flush == 0))
+ break;
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -29,6 +29,8 @@