Skip to content

Commit

Permalink
ath9k: fix excessive BAR sending when a frame exceeds its retry limit
Browse files Browse the repository at this point in the history
Because the sendbar variable was not reset to zero, the stack would send
Block ACK requests for all subframes following the one that failed, which
could mess up the receiver side block ack window.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Jan 19, 2011
1 parent 21f28e6 commit f0b8220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq,

ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad);
while (bf) {
txfail = txpending = 0;
txfail = txpending = sendbar = 0;
bf_next = bf->bf_next;

skb = bf->bf_mpdu;
Expand Down

0 comments on commit f0b8220

Please sign in to comment.