From: Mohammed Shafi Shajakhan Date: Tue, 14 Feb 2012 13:09:19 +0000 (+0530) Subject: ath9k: remove unnecessary PS wrappers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a8a721de97dce7477bfb89e7b4ca1eba425db34;p=linux-beck.git 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 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 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, if (sc->sc_flags & SC_OP_INVALID) return -EIO; - ath9k_ps_wakeup(sc); - r = ath_reset_internal(sc, hchan, false); - ath9k_ps_restore(sc); - return r; }