aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/phy.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/phy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
index 9a3d0239e27e..72852900df84 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
@@ -470,7 +470,6 @@ static bool _rtl92cu_phy_set_rf_power_state(struct ieee80211_hw *hw,
470 u8 i, queue_id; 470 u8 i, queue_id;
471 struct rtl8192_tx_ring *ring = NULL; 471 struct rtl8192_tx_ring *ring = NULL;
472 472
473 ppsc->set_rfpowerstate_inprogress = true;
474 switch (rfpwr_state) { 473 switch (rfpwr_state) {
475 case ERFON: 474 case ERFON:
476 if ((ppsc->rfpwr_state == ERFOFF) && 475 if ((ppsc->rfpwr_state == ERFOFF) &&
@@ -590,7 +589,6 @@ static bool _rtl92cu_phy_set_rf_power_state(struct ieee80211_hw *hw,
590 } 589 }
591 if (bresult) 590 if (bresult)
592 ppsc->rfpwr_state = rfpwr_state; 591 ppsc->rfpwr_state = rfpwr_state;
593 ppsc->set_rfpowerstate_inprogress = false;
594 return bresult; 592 return bresult;
595} 593}
596 594