diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-08-08 18:23:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-08-08 18:23:04 +0000 |
commit | 17e6de20d079766ddb3fb09d9d05005f23393581 (patch) | |
tree | fc2d6f7cb408f0670da17621d427a54db8990138 | |
parent | 9f73d47912f2d27dcef69707e023dcb4484a71fe (diff) | |
download | mtk-20170518-17e6de20d079766ddb3fb09d9d05005f23393581.zip mtk-20170518-17e6de20d079766ddb3fb09d9d05005f23393581.tar.gz mtk-20170518-17e6de20d079766ddb3fb09d9d05005f23393581.tar.bz2 |
ath9k: fix handling of decryption errors, should improve link stability
SVN-Revision: 33063
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 16 |
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 97758c4..9addfa0 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 @@ |