summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/beacon.c
diff options
context:
space:
mode:
authorSujith2009-01-16 17:08:47 +0100
committerJohn W. Linville2009-01-29 22:00:40 +0100
commit043a040503b0d0c21bf3fba971813eba3322267d (patch)
tree4aae2852af5581da07c3de609b7ac0308499ceb8 /drivers/net/wireless/ath9k/beacon.c
parentath9k: Remove ath_tx_stopdma and call ath9k_hw_stoptxdma directly (diff)
downloadkernel-qcow2-linux-043a040503b0d0c21bf3fba971813eba3322267d.tar.gz
kernel-qcow2-linux-043a040503b0d0c21bf3fba971813eba3322267d.tar.xz
kernel-qcow2-linux-043a040503b0d0c21bf3fba971813eba3322267d.zip
ath9k: Merge queue draining functions
The TX queue draining routines have confusing names, rename them approprately and merge ath_drain_txdataq() with ath_drain_all_txq(). Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/beacon.c')
-rw-r--r--drivers/net/wireless/ath9k/beacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/beacon.c b/drivers/net/wireless/ath9k/beacon.c
index be1d84a5dafb..61d37be9717e 100644
--- a/drivers/net/wireless/ath9k/beacon.c
+++ b/drivers/net/wireless/ath9k/beacon.c
@@ -220,7 +220,7 @@ static struct ath_buf *ath_beacon_generate(struct ath_softc *sc, int if_id)
* acquires txq lock inside.
*/
if (sc->sc_nvaps > 1) {
- ath_tx_draintxq(sc, cabq, false);
+ ath_draintxq(sc, cabq, false);
DPRINTF(sc, ATH_DBG_BEACON,
"flush previous cabq traffic\n");
}