summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-02 10:14:50 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2017-02-07 11:00:17 +0200
commitd63ffc45c5d3df15f6fc8c73079458ce4a111995 (patch)
tree27b84254d9f6ed270d97ecea581db8021374b77c /drivers/net/wireless/ath/ath9k/init.c
parent03c95dbef64264b6d86d50c0f0d90fdf989e528e (diff)
downloadlinux-d63ffc45c5d3df15f6fc8c73079458ce4a111995.tar.gz
linux-d63ffc45c5d3df15f6fc8c73079458ce4a111995.tar.bz2
linux-d63ffc45c5d3df15f6fc8c73079458ce4a111995.zip
ath9k: rename tx_complete_work to hw_check_work
Also include common MAC alive check. This should make the hang checks more reliable for modes where beacons are not sent and is used as a starting point for further hang check improvements Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.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 084ad1bd495f..a2f7f48bbb92 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -681,6 +681,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
INIT_WORK(&sc->hw_reset_work, ath_reset_work);
INIT_WORK(&sc->paprd_work, ath_paprd_calibrate);
INIT_DELAYED_WORK(&sc->hw_pll_work, ath_hw_pll_work);
+ INIT_DELAYED_WORK(&sc->hw_check_work, ath_hw_check_work);
ath9k_init_channel_context(sc);