diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-20 15:11:31 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-24 20:44:23 +0200 |
commit | f56e121df34563475f71efab38287b9ac028fe8c (patch) | |
tree | e02de04745dc593bae2e3b5d988281c54c7c0e30 /drivers/net/wireless/ipw2x00/ipw2200.c | |
parent | ath9k_htc: Add ethtool stats support. (diff) | |
download | linux-f56e121df34563475f71efab38287b9ac028fe8c.tar.xz linux-f56e121df34563475f71efab38287b9ac028fe8c.zip |
ath9k: fix queue depth accounting in ath_tx_txqaddbuf
ath_tx_txqaddbuf assumes that all the linked buffers in the queue passed
to it are part of the same A-MPDU or MPDU. The CAB queue rework violates
this assumption, which can cause the internal queue depth to go
negative.
Fix this by increasing the counter for all slots of [bf, bf->bf_lastbf]
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
0 files changed, 0 insertions, 0 deletions