aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2012-02-14 08:09:19 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-22 14:51:19 -0500
commit0a8a721de97dce7477bfb89e7b4ca1eba425db34 (patch)
treeff3a448202024d87fad8c765aaa7c48088e36bde /drivers/net/wireless/ath/ath9k/main.c
parent5ce3df64a4a2849a6fc616e5957b5188daaea631 (diff)
ath9k: remove unnecessary PS wrappers
ath_set_channel is called from ath9k_config which already has proper PS wrappers 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/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 22785c77d007..c81304d3ef14 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -371,12 +371,8 @@ static int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
371 if (sc->sc_flags & SC_OP_INVALID) 371 if (sc->sc_flags & SC_OP_INVALID)
372 return -EIO; 372 return -EIO;
373 373
374 ath9k_ps_wakeup(sc);
375
376 r = ath_reset_internal(sc, hchan, false); 374 r = ath_reset_internal(sc, hchan, false);
377 375
378 ath9k_ps_restore(sc);
379
380 return r; 376 return r;
381} 377}
382 378