aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 52bcdf40d5bd..4b9e730d2c8a 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -708,7 +708,7 @@ static int mac80211_hwsim_start(struct ieee80211_hw *hw)
708{ 708{
709 struct mac80211_hwsim_data *data = hw->priv; 709 struct mac80211_hwsim_data *data = hw->priv;
710 wiphy_debug(hw->wiphy, "%s\n", __func__); 710 wiphy_debug(hw->wiphy, "%s\n", __func__);
711 data->started = 1; 711 data->started = true;
712 return 0; 712 return 0;
713} 713}
714 714
@@ -716,7 +716,7 @@ static int mac80211_hwsim_start(struct ieee80211_hw *hw)
716static void mac80211_hwsim_stop(struct ieee80211_hw *hw) 716static void mac80211_hwsim_stop(struct ieee80211_hw *hw)
717{ 717{
718 struct mac80211_hwsim_data *data = hw->priv; 718 struct mac80211_hwsim_data *data = hw->priv;
719 data->started = 0; 719 data->started = false;
720 del_timer(&data->beacon_timer); 720 del_timer(&data->beacon_timer);
721 wiphy_debug(hw->wiphy, "%s\n", __func__); 721 wiphy_debug(hw->wiphy, "%s\n", __func__);
722} 722}