summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/530-ath9k_aggr_start_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-31 23:34:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-31 23:34:21 +0000
commit2f014eb8e82152c3e31fba135b45cdf026de7fd1 (patch)
tree509489e635a0f907a8838797bfbaf7f105afc883 /package/mac80211/patches/530-ath9k_aggr_start_fix.patch
parentece9b523e446692c9361336d1f0b6cbd6a3df257 (diff)
downloadmtk-20170518-2f014eb8e82152c3e31fba135b45cdf026de7fd1.zip
mtk-20170518-2f014eb8e82152c3e31fba135b45cdf026de7fd1.tar.gz
mtk-20170518-2f014eb8e82152c3e31fba135b45cdf026de7fd1.tar.bz2
mac80211: update to wireless-testing 2010-08-31
SVN-Revision: 22865
Diffstat (limited to 'package/mac80211/patches/530-ath9k_aggr_start_fix.patch')
-rw-r--r--package/mac80211/patches/530-ath9k_aggr_start_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/530-ath9k_aggr_start_fix.patch b/package/mac80211/patches/530-ath9k_aggr_start_fix.patch
new file mode 100644
index 0000000..1dcac53
--- /dev/null
+++ b/package/mac80211/patches/530-ath9k_aggr_start_fix.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -124,7 +124,8 @@ static void ath_tx_resume_tid(struct ath
+ {
+ struct ath_txq *txq = &sc->tx.txq[tid->ac->qnum];
+
+- WARN_ON(!tid->paused);
++ if (!tid->paused)
++ return;
+
+ spin_lock_bh(&txq->axq_lock);
+ tid->paused = false;