|
@@ -900,8 +900,7 @@ void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw)
|
|
ath_update_txpow(sc);
|
|
ath_update_txpow(sc);
|
|
if (ath_startrecv(sc) != 0) {
|
|
if (ath_startrecv(sc) != 0) {
|
|
ath_err(common, "Unable to restart recv logic\n");
|
|
ath_err(common, "Unable to restart recv logic\n");
|
|
- spin_unlock_bh(&sc->sc_pcu_lock);
|
|
|
|
- return;
|
|
|
|
|
|
+ goto out;
|
|
}
|
|
}
|
|
if (sc->sc_flags & SC_OP_BEACONS)
|
|
if (sc->sc_flags & SC_OP_BEACONS)
|
|
ath_beacon_config(sc, NULL); /* restart beacons */
|
|
ath_beacon_config(sc, NULL); /* restart beacons */
|
|
@@ -915,6 +914,7 @@ void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw)
|
|
ath9k_hw_set_gpio(ah, ah->led_pin, 0);
|
|
ath9k_hw_set_gpio(ah, ah->led_pin, 0);
|
|
|
|
|
|
ieee80211_wake_queues(hw);
|
|
ieee80211_wake_queues(hw);
|
|
|
|
+out:
|
|
spin_unlock_bh(&sc->sc_pcu_lock);
|
|
spin_unlock_bh(&sc->sc_pcu_lock);
|
|
|
|
|
|
ath9k_ps_restore(sc);
|
|
ath9k_ps_restore(sc);
|