diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:01 +0000 |
commit | 41872e876522f11895124c072d9f449c34242773 (patch) | |
tree | 849c0f5368b73df1ddb966103f656a942fcaff4b /package/mac80211/patches/511-ath9k_completion_buffer_leak.patch | |
parent | f813a693fd5e07c60c042a0b11ae8e15144fc960 (diff) | |
download | mtk-20170518-41872e876522f11895124c072d9f449c34242773.zip mtk-20170518-41872e876522f11895124c072d9f449c34242773.tar.gz mtk-20170518-41872e876522f11895124c072d9f449c34242773.tar.bz2 |
mac80211: update to wireless-testing 2010-07-16
SVN-Revision: 22301
Diffstat (limited to 'package/mac80211/patches/511-ath9k_completion_buffer_leak.patch')
-rw-r--r-- | package/mac80211/patches/511-ath9k_completion_buffer_leak.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/mac80211/patches/511-ath9k_completion_buffer_leak.patch b/package/mac80211/patches/511-ath9k_completion_buffer_leak.patch deleted file mode 100644 index 709e284..0000000 --- a/package/mac80211/patches/511-ath9k_completion_buffer_leak.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/xmit.c -+++ b/drivers/net/wireless/ath/ath9k/xmit.c -@@ -329,6 +329,7 @@ static void ath_tx_complete_aggr(struct - int isaggr, txfail, txpending, sendbar = 0, needreset = 0, nbad = 0; - bool rc_update = true; - struct ieee80211_tx_rate rates[4]; -+ unsigned long flags; - - skb = bf->bf_mpdu; - hdr = (struct ieee80211_hdr *)skb->data; -@@ -344,6 +345,10 @@ static void ath_tx_complete_aggr(struct - sta = ieee80211_find_sta_by_hw(hw, hdr->addr1); - if (!sta) { - rcu_read_unlock(); -+ -+ spin_lock_irqsave(&sc->tx.txbuflock, flags); -+ list_splice_tail_init(bf_q, &sc->tx.txbuf); -+ spin_unlock_irqrestore(&sc->tx.txbuflock, flags); - return; - } - |