|
@@ -519,7 +519,6 @@ static bool _rtl92ce_phy_set_rf_power_state(struct ieee80211_hw *hw,
|
|
|
u8 i, queue_id;
|
|
|
struct rtl8192_tx_ring *ring = NULL;
|
|
|
|
|
|
- ppsc->set_rfpowerstate_inprogress = true;
|
|
|
switch (rfpwr_state) {
|
|
|
case ERFON:{
|
|
|
if ((ppsc->rfpwr_state == ERFOFF) &&
|
|
@@ -615,7 +614,6 @@ static bool _rtl92ce_phy_set_rf_power_state(struct ieee80211_hw *hw,
|
|
|
}
|
|
|
if (bresult)
|
|
|
ppsc->rfpwr_state = rfpwr_state;
|
|
|
- ppsc->set_rfpowerstate_inprogress = false;
|
|
|
return bresult;
|
|
|
}
|
|
|
|