summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-12 22:30:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-12 22:30:47 +0000
commit5a822569fc7794a086947c4237be6332a296eae9 (patch)
tree4d458f5d21df7990e9f49d18805f987b0fd1b820 /package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch
parent28dec42aa353b7bcc7248ffe333e56d777a35835 (diff)
ath9k: fix a crash bug and a dma sync issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20833 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch')
-rw-r--r--package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch b/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch
index ff5591253..622b57720 100644
--- a/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch
+++ b/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch
@@ -94,8 +94,12 @@
return r;
}
-@@ -2123,11 +2121,8 @@ static void ath_tx_processq(struct ath_s
+@@ -2121,13 +2119,12 @@ static void ath_tx_processq(struct ath_s
+ txq->axq_depth--;
+ txok = !(ts.ts_status & ATH9K_TXERR_MASK);
txq->axq_tx_inprogress = false;
++ if (bf_held)
++ list_del(&bf_held->list);
spin_unlock_bh(&txq->axq_lock);
- if (bf_held) {