aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-11 13:52:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-11 13:52:27 +0000
commit0da1b304fcb69df143a30335779f3b6886bf2fba (patch)
tree3d6e1cf9fed773c35a5cfaec71f59a3633e80c7c /package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch
parentb968a100483fbe18783e7152589854c72bbe6923 (diff)
downloadmaster-187ad058-0da1b304fcb69df143a30335779f3b6886bf2fba.tar.gz
master-187ad058-0da1b304fcb69df143a30335779f3b6886bf2fba.tar.bz2
master-187ad058-0da1b304fcb69df143a30335779f3b6886bf2fba.zip
mac80211: update to 2011-08-10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27958 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch')
-rw-r--r--package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch b/package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch
deleted file mode 100644
index ade0eeff85..0000000000
--- a/package/mac80211/patches/447-ath5k_fix_queue_stop_warning.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/drivers/net/wireless/ath/ath5k/base.c
-+++ b/drivers/net/wireless/ath/ath5k/base.c
-@@ -1555,7 +1555,8 @@ ath5k_tx_queue(struct ieee80211_hw *hw,
- goto drop_packet;
- }
-
-- if (txq->txq_len >= txq->txq_max)
-+ if (txq->txq_len >= txq->txq_max &&
-+ txq->qnum <= AR5K_TX_QUEUE_ID_DATA_MAX)
- ieee80211_stop_queue(hw, txq->qnum);
-
- spin_lock_irqsave(&sc->txbuflock, flags);
-@@ -1931,6 +1932,10 @@ ath5k_beacon_send(struct ath5k_softc *sc
- skb = ieee80211_get_buffered_bc(sc->hw, vif);
- while (skb) {
- ath5k_tx_queue(sc->hw, skb, sc->cabq);
-+
-+ if (sc->cabq->txq_len >= sc->cabq->txq_max)
-+ break;
-+
- skb = ieee80211_get_buffered_bc(sc->hw, vif);
- }
-