diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index d81a6021a30f..74c021436704 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c | |||
@@ -396,7 +396,7 @@ void rtl_init_rfkill(struct ieee80211_hw *hw) | |||
396 | u8 valid = 0; | 396 | u8 valid = 0; |
397 | 397 | ||
398 | /*set init state to on */ | 398 | /*set init state to on */ |
399 | rtlpriv->rfkill.rfkill_state = 1; | 399 | rtlpriv->rfkill.rfkill_state = true; |
400 | wiphy_rfkill_set_hw_state(hw->wiphy, 0); | 400 | wiphy_rfkill_set_hw_state(hw->wiphy, 0); |
401 | 401 | ||
402 | radio_state = rtlpriv->cfg->ops->radio_onoff_checking(hw, &valid); | 402 | radio_state = rtlpriv->cfg->ops->radio_onoff_checking(hw, &valid); |