ath9k: fix a potential buffer leak in the STA teardown path
authorFelix Fietkau <nbd@openwrt.org>
Wed, 7 Jul 2010 17:42:08 +0000 (19:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Jul 2010 19:48:18 +0000 (15:48 -0400)
It looks like it might be possible for a TID to be paused, while still
holding some queued buffers, however ath_tx_node_cleanup currently only
iterates over active TIDs.
Fix this by always checking every allocated TID for the STA that is being
cleaned up.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found