ath5k: Use new function to stop beacon queue
authorNick Kossifidis <mickflemm@gmail.com>
Tue, 23 Nov 2010 18:55:17 +0000 (20:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:52:32 +0000 (13:52 -0500)
commit14fae2d4b61b890cea58d63091406b86ec9bafcd
treea76280e0c2c307384390c36f95b807987dd9c81a
parente8325ed87457e07b9ceeb1e7a31df787dd7ee106
ath5k: Use new function to stop beacon queue

 * Since we only use ath5k_hw_stop_tx_dma to stop the beacon
 queue, introduce a new function ath5k_hw_stop_beacon_queue so
 that we can use that instead and have better control. In the future
 we can add more beacon queue specific stuff there (maybe tweak
 beacon timers or something), for now just call ath5k_hw_stop_tx_dma.

 * Also since we don't call ath5k_hw_stop_rx/tx_dma from outside
 dma.c, make them static.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/dma.c