From: Mohammed Shafi Shajakhan Date: Tue, 4 Sep 2012 14:03:34 +0000 (+0530) Subject: ath9k: Make use of ath_stop_ani wrapper X-Git-Tag: v3.7-rc1~145^2~30^2~152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5686cac5bc6c41161cdf879998e16001c92e7bf8;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 8a2b04d..a0bdb4b 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)) {