]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:03 +0000 (13:32 -0800)
commitd4accf75e672705052f80f357a241ef2897167ff
treeab95515fb6fbeef1ad7e03107892e070fea8ce40
parent9011695dc05def294416c0f667cd59aaa8d8af9a
ath9k: fix tx aggregation flush on AR9003

commit e609e2ea2cdb3448e7849703179cd792a28dcc55 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/xmit.c