aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index d1c4e86b215c..c427954fe8e8 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -346,9 +346,12 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
346 346
347u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata) 347u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata)
348{ 348{
349 sdata->bss_conf.use_cts_prot = 0; 349 sdata->bss_conf.use_cts_prot = false;
350 sdata->bss_conf.use_short_preamble = 0; 350 sdata->bss_conf.use_short_preamble = false;
351 return BSS_CHANGED_ERP_CTS_PROT | BSS_CHANGED_ERP_PREAMBLE; 351 sdata->bss_conf.use_short_slot = false;
352 return BSS_CHANGED_ERP_CTS_PROT |
353 BSS_CHANGED_ERP_PREAMBLE |
354 BSS_CHANGED_ERP_SLOT;
352} 355}
353 356
354void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, 357void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw,