net: fix assignment of 0/1 to bool variables.
[deliverable/linux.git] / drivers / net / wireless / mac80211_hwsim.c
index 52bcdf40d5bd64696091179518233d187d3971fb..4b9e730d2c8a13cc184f1ee5b5cba868f59398a7 100644 (file)
@@ -708,7 +708,7 @@ static int mac80211_hwsim_start(struct ieee80211_hw *hw)
 {
        struct mac80211_hwsim_data *data = hw->priv;
        wiphy_debug(hw->wiphy, "%s\n", __func__);
-       data->started = 1;
+       data->started = true;
        return 0;
 }
 
@@ -716,7 +716,7 @@ static int mac80211_hwsim_start(struct ieee80211_hw *hw)
 static void mac80211_hwsim_stop(struct ieee80211_hw *hw)
 {
        struct mac80211_hwsim_data *data = hw->priv;
-       data->started = 0;
+       data->started = false;
        del_timer(&data->beacon_timer);
        wiphy_debug(hw->wiphy, "%s\n", __func__);
 }
This page took 0.027173 seconds and 5 git commands to generate.