[backfire] backport r25179
[openwrt-10.03/.git] / package / mac80211 / patches / 532-ath9k_aggr_baw_init.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -858,6 +858,9 @@ int ath_tx_aggr_start(struct ath_softc *
4         txtid->paused = true;
5         *ssn = txtid->seq_start = txtid->seq_next;
6  
7 +       memset(txtid->tx_buf, 0, sizeof(txtid->tx_buf));
8 +       txtid->baw_head = txtid->baw_tail = 0;
9 +
10         return 0;
11  }
12