summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
blob: 0b9edd334711002d9f52f15267b56673b3b66bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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;
 }