openwrtv4/package/mac80211/patches/532-ath9k_aggr_baw_init.patch
Felix Fietkau 6528a58151 ath9k: add a few aggregation reliability fixes
SVN-Revision: 24949
2011-01-09 20:35:27 +00:00

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