aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 8ea30902d5db..28382b5c7c25 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -964,16 +964,16 @@ static int ieee80211_change_bss(struct wiphy *wiphy,
964 return -EINVAL; 964 return -EINVAL;
965 965
966 if (params->use_cts_prot >= 0) { 966 if (params->use_cts_prot >= 0) {
967 sdata->bss_conf.use_cts_prot = params->use_cts_prot; 967 sdata->vif.bss_conf.use_cts_prot = params->use_cts_prot;
968 changed |= BSS_CHANGED_ERP_CTS_PROT; 968 changed |= BSS_CHANGED_ERP_CTS_PROT;
969 } 969 }
970 if (params->use_short_preamble >= 0) { 970 if (params->use_short_preamble >= 0) {
971 sdata->bss_conf.use_short_preamble = 971 sdata->vif.bss_conf.use_short_preamble =
972 params->use_short_preamble; 972 params->use_short_preamble;
973 changed |= BSS_CHANGED_ERP_PREAMBLE; 973 changed |= BSS_CHANGED_ERP_PREAMBLE;
974 } 974 }
975 if (params->use_short_slot_time >= 0) { 975 if (params->use_short_slot_time >= 0) {
976 sdata->bss_conf.use_short_slot = 976 sdata->vif.bss_conf.use_short_slot =
977 params->use_short_slot_time; 977 params->use_short_slot_time;
978 changed |= BSS_CHANGED_ERP_SLOT; 978 changed |= BSS_CHANGED_ERP_SLOT;
979 } 979 }