]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ath9k: remove unnecessary PS wrappers
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Tue, 14 Feb 2012 13:09:19 +0000 (18:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:51:19 +0000 (14:51 -0500)
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>
drivers/net/wireless/ath/ath9k/main.c

index 22785c77d007c4c580e9056feba4905ed0a93c79..c81304d3ef1405e089fb4fbea8e9853d67cf6b1e 100644 (file)
@@ -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;
 }