summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorSenthil Balasubramanian2011-04-22 08:02:11 +0200
committerJohn W. Linville2011-04-25 20:50:18 +0200
commit9eab61c2bff2f769ee771a7a9301fb720cec9b56 (patch)
treeccc0f1062cc4bf00148a880256fe3fca18be2472 /drivers/net/wireless/ath/ath9k/init.c
parentath9k: optimize the usage of power save wrappers. (diff)
downloadkernel-qcow2-linux-9eab61c2bff2f769ee771a7a9301fb720cec9b56.tar.gz
kernel-qcow2-linux-9eab61c2bff2f769ee771a7a9301fb720cec9b56.tar.xz
kernel-qcow2-linux-9eab61c2bff2f769ee771a7a9301fb720cec9b56.zip
ath9k: cleanup hw pll work handler
There is no reason why pll work handler should be part of xmit file. move it to main.c so that reading hw check routines are all in the same place. Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index e78b6aefa108..b172d1509515 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -801,6 +801,7 @@ int ath9k_init_device(u16 devid, struct ath_softc *sc, u16 subsysid,
INIT_WORK(&sc->hw_check_work, ath_hw_check);
INIT_WORK(&sc->paprd_work, ath_paprd_calibrate);
+ INIT_DELAYED_WORK(&sc->hw_pll_work, ath_hw_pll_work);
sc->last_rssi = ATH_RSSI_DUMMY_MARKER;
ath_init_leds(sc);