]> git.baikalelectronics.ru Git - kernel.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)
commitfed4c11401756ea5812e582a09482f3d2c2d8655
treeaac8bd62df92a0a8975d0d1604cd9bb62a7c5f5a
parent596c83237be36a4ebefe52c9f5e404707b817952
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