|
@@ -2653,8 +2653,10 @@ static void ath9k_remove_interface(struct ieee80211_hw *hw,
|
|
|
if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) ||
|
|
|
(sc->sc_ah->opmode == NL80211_IFTYPE_ADHOC) ||
|
|
|
(sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) {
|
|
|
+ ath9k_ps_wakeup(sc);
|
|
|
ath9k_hw_stoptxdma(sc->sc_ah, sc->beacon.beaconq);
|
|
|
ath_beacon_return(sc, avp);
|
|
|
+ ath9k_ps_restore(sc);
|
|
|
}
|
|
|
|
|
|
sc->sc_flags &= ~SC_OP_BEACONS;
|