aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-10 19:05:47 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-01-19 11:36:07 -0500
commita9e99a0cea3b6e27cca23ad2ef57331a25d886bb (patch)
tree345165a3f63c6aebdbd0b980018978a25dbc3122 /drivers/net/wireless
parent80d184e6cfb1ba7371152c4c91652d770c9caddb (diff)
ath9k: fix bogus sequence number increases on aggregation tid flush
When a tid pointer is passed to ath_tx_send_normal(), it increases the starting sequence number for the next AMPDU action frame, which should only be done if the sequence number assignment is fresh. In this case it is clearly not. 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 332d1feb5c18..1adfebcd9b9a 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -169,7 +169,7 @@ static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid)
169 ath_tx_update_baw(sc, tid, fi->seqno); 169 ath_tx_update_baw(sc, tid, fi->seqno);
170 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0, 0); 170 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0, 0);
171 } else { 171 } else {
172 ath_tx_send_normal(sc, txq, tid, &bf_head); 172 ath_tx_send_normal(sc, txq, NULL, &bf_head);
173 } 173 }
174 spin_lock_bh(&txq->axq_lock); 174 spin_lock_bh(&txq->axq_lock);
175 } 175 }