]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: optimize ath9k_flush
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Nov 2013 21:23:35 +0000 (22:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:25:00 +0000 (14:25 -0500)
commit1d2509c81343d6792f7b332e16ca42dd2c1455fe
tree0b82dc104bf3de3801d9725216eeeee4ef235b24
parent207c8faec8f72971bbf0c72fb80db87f946fdf2f
ath9k: optimize ath9k_flush

Instead of checking the queues in a loop with hardcoded sleep times
inbetween, use a wait queue to trigger queue checks after the tx
processing tasklet has run.

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