net: fix assignment of 0/1 to bool variables.
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / base.c
index d81a6021a30f5f8b9f9b85afb750b3d8f235c846..74c0214367040beb33d4b343c9cc9a53ed75aed9 100644 (file)
@@ -396,7 +396,7 @@ void rtl_init_rfkill(struct ieee80211_hw *hw)
        u8 valid = 0;
 
        /*set init state to on */
-       rtlpriv->rfkill.rfkill_state = 1;
+       rtlpriv->rfkill.rfkill_state = true;
        wiphy_rfkill_set_hw_state(hw->wiphy, 0);
 
        radio_state = rtlpriv->cfg->ops->radio_onoff_checking(hw, &valid);
This page took 0.037745 seconds and 5 git commands to generate.