1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 13:52:26 +03:00
openwrt-xburst/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
nbd b5f7d6d238 ath9k: add a few aggregation reliability fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 20:35:27 +00:00

13 lines
331 B
Diff

--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -858,6 +858,9 @@ int ath_tx_aggr_start(struct ath_softc *
txtid->paused = true;
*ssn = txtid->seq_start = txtid->seq_next;
+ memset(txtid->tx_buf, 0, sizeof(txtid->tx_buf));
+ txtid->baw_head = txtid->baw_tail = 0;
+
return 0;
}