aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-11 19:11:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-03-14 14:46:59 -0400
commit7d2c16befae67b901e6750b845661c1fdffd19f1 (patch)
tree7cafaf1a70e43a7bc0788c528881e6b6b6afaa22 /drivers/net/wireless
parent9db372fdd5de9e0464c77a9d3db2a3b356db8668 (diff)
ath9k: fix aggregation related interoperability issues
Some clients seems to keep track of their reorder window even after an aggregation session has been disabled. This causes issues if there are still retried but not completed frames pending for the TID. To ensure that rx does not stall in such situations, set sendbar to 1 for any frame purged from the TID queue on teardown. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index f977f804c68..ef22096d40c 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -166,7 +166,7 @@ static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid)
166 fi = get_frame_info(bf->bf_mpdu); 166 fi = get_frame_info(bf->bf_mpdu);
167 if (fi->retries) { 167 if (fi->retries) {
168 ath_tx_update_baw(sc, tid, fi->seqno); 168 ath_tx_update_baw(sc, tid, fi->seqno);
169 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0, 0); 169 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0, 1);
170 } else { 170 } else {
171 ath_tx_send_normal(sc, txq, NULL, &bf_head); 171 ath_tx_send_normal(sc, txq, NULL, &bf_head);
172 } 172 }