summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2012-09-04 19:33:34 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-09-11 15:13:51 -0400
commit5686cac5bc6c41161cdf879998e16001c92e7bf8 (patch)
tree2a3cad2671f511845a37620ba4c21014f9376677 /drivers/net/wireless/ath/ath9k
parent94ae77ea4600801233663e64025529ba43075643 (diff)
downloadblackbird-op-linux-5686cac5bc6c41161cdf879998e16001c92e7bf8.tar.gz
blackbird-op-linux-5686cac5bc6c41161cdf879998e16001c92e7bf8.zip
ath9k: Make use of ath_stop_ani wrapper
Additionally it has a neat debug message informing us that we are stopping the ANI algorithm. Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 8a2b04d5922f..a0bdb4b3d9fe 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2260,7 +2260,7 @@ static int ath9k_suspend(struct ieee80211_hw *hw,
mutex_lock(&sc->mutex);
ath_cancel_work(sc);
- del_timer_sync(&common->ani.timer);
+ ath_stop_ani(sc);
del_timer_sync(&sc->rx_poll_timer);
if (test_bit(SC_OP_INVALID, &sc->sc_flags)) {
OpenPOWER on IntegriCloud