summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/532-ath9k_aggr_baw_init.patch')
-rw-r--r--package/mac80211/patches/532-ath9k_aggr_baw_init.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/532-ath9k_aggr_baw_init.patch b/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
new file mode 100644
index 0000000..0b9edd3
--- /dev/null
+++ b/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
@@ -0,0 +1,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;
+ }
+