]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: fix the .flush driver op implementation
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Mar 2011 20:38:19 +0000 (21:38 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Mar 2011 18:46:58 +0000 (14:46 -0400)
commit86271e460a66003dc1f4cbfd845adafb790b7587
treeaac8bd62df92a0a8975d0d1604cd9bb62a7c5f5a
parent0d51cccc2436fa4d978efc3764552779e163d840
ath9k: fix the .flush driver op implementation

This patch simplifies the flush op and reuses ath_drain_all_txq for
flushing out pending frames if necessary. It also uses a global timeout
of 200ms instead of the per-queue 60ms timeout.

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/main.c
drivers/net/wireless/ath/ath9k/xmit.c