]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: optimize ath_drain_all_txq
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Nov 2013 21:23:34 +0000 (22:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:24:59 +0000 (14:24 -0500)
commitde338d8a8539a4f499961281611fac4091a7bc61
tree6d0d2ed1a3ea82dda9367eb09b16119cc3747319
parentfc1f0dce0a158f242755316f9f5103b0b457b20f
ath9k: optimize ath_drain_all_txq

If the software has processed all packets, checking the hardware queue
is unnecessary.

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