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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 59be9e782699..ab8a860444af 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -249,15 +249,15 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
249 if (local->ops->bss_info_changed) 249 if (local->ops->bss_info_changed)
250 local->ops->bss_info_changed(local_to_hw(local), 250 local->ops->bss_info_changed(local_to_hw(local),
251 &sdata->vif, 251 &sdata->vif,
252 &sdata->bss_conf, 252 &sdata->vif.bss_conf,
253 changed); 253 changed);
254} 254}
255 255
256u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata) 256u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata)
257{ 257{
258 sdata->bss_conf.use_cts_prot = false; 258 sdata->vif.bss_conf.use_cts_prot = false;
259 sdata->bss_conf.use_short_preamble = false; 259 sdata->vif.bss_conf.use_short_preamble = false;
260 sdata->bss_conf.use_short_slot = false; 260 sdata->vif.bss_conf.use_short_slot = false;
261 return BSS_CHANGED_ERP_CTS_PROT | 261 return BSS_CHANGED_ERP_CTS_PROT |
262 BSS_CHANGED_ERP_PREAMBLE | 262 BSS_CHANGED_ERP_PREAMBLE |
263 BSS_CHANGED_ERP_SLOT; 263 BSS_CHANGED_ERP_SLOT;