1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 04:28:27 +02:00
openwrt-xburst/package/mac80211/patches/532-ath9k_aggr_baw_init.patch

13 lines
331 B
Diff
Raw Normal View History

--- 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;
}