]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ath9k: fix tx aggregation flush on AR9003
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 Oct 2010 00:15:05 +0000 (02:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Oct 2010 19:46:50 +0000 (15:46 -0400)
commite609e2ea2cdb3448e7849703179cd792a28dcc55
treed28901d24ff6ff619aaa0191e99b6bee18294cac
parent5e848f789d60000d39d9a5f26ab02dbdd963f6cd
ath9k: fix tx aggregation flush on AR9003

Completing aggregate frames can lead to new buffers being pushed into
the tid queues due to software retransmission.
When the tx queues are being drained, all pending aggregates must be
completed before the tid queues get drained, otherwise buffers might be
leaked.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c