diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-02-14 14:09:19 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 20:51:19 +0100 |
commit | 0a8a721de97dce7477bfb89e7b4ca1eba425db34 (patch) | |
tree | ff3a448202024d87fad8c765aaa7c48088e36bde | |
parent | ath9k: remove obsolete comments (diff) | |
download | linux-0a8a721de97dce7477bfb89e7b4ca1eba425db34.tar.xz linux-0a8a721de97dce7477bfb89e7b4ca1eba425db34.zip |
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>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
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, 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; } |