Skip to content

Commit

Permalink
ath9k: remove unnecessary PS wrappers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Feb 22, 2012
1 parent 5ce3df6 commit 0a8a721
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0a8a721

Please sign in to comment.