diff options
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index e67b424f925e..8fa6e6ce5705 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -618,7 +618,7 @@ static void mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw, | |||
618 | printk(KERN_DEBUG " %s: BCNINT: %d\n", | 618 | printk(KERN_DEBUG " %s: BCNINT: %d\n", |
619 | wiphy_name(hw->wiphy), info->beacon_int); | 619 | wiphy_name(hw->wiphy), info->beacon_int); |
620 | data->beacon_int = 1024 * info->beacon_int / 1000 * HZ / 1000; | 620 | data->beacon_int = 1024 * info->beacon_int / 1000 * HZ / 1000; |
621 | if (WARN_ON(data->beacon_int)) | 621 | if (WARN_ON(!data->beacon_int)) |
622 | data->beacon_int = 1; | 622 | data->beacon_int = 1; |
623 | } | 623 | } |
624 | 624 | ||