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>
This commit is contained in:
parent
5ce3df64a4
commit
0a8a721de9
drivers/net/wireless/ath/ath9k
|
@ -371,12 +371,8 @@ static int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
|
||||||
if (sc->sc_flags & SC_OP_INVALID)
|
if (sc->sc_flags & SC_OP_INVALID)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
ath9k_ps_wakeup(sc);
|
|
||||||
|
|
||||||
r = ath_reset_internal(sc, hchan, false);
|
r = ath_reset_internal(sc, hchan, false);
|
||||||
|
|
||||||
ath9k_ps_restore(sc);
|
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue