projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f28e6
)
ath9k: fix excessive BAR sending when a frame exceeds its retry limit
author
Felix Fietkau
<
[email protected]
>
Sat, 15 Jan 2011 13:30:15 +0000
(14:30 +0100)
committer
John W. Linville
<
[email protected]
>
Wed, 19 Jan 2011 16:36:11 +0000
(11:36 -0500)
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 <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/xmit.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/xmit.c
b/drivers/net/wireless/ath/ath9k/xmit.c
index fffd13d204b59c1e3983f03ebef20000222250ca..ad569e152d78a074cff908cbe1cd2a5f033e2c4f 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/xmit.c
+++ b/
drivers/net/wireless/ath/ath9k/xmit.c
@@
-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;