summaryrefslogtreecommitdiffstats
path: root/net/mac80211/spectmgmt.c
diff options
context:
space:
mode:
authorJohannes Berg2017-02-15 15:02:06 +0100
committerJohannes Berg2017-03-06 09:21:43 +0100
commit2fb51c35815dc08638a7d9b1a497a9d7cb4109b8 (patch)
tree7e71cd8755ebb0a82d6fb82350707ec71693eb7d /net/mac80211/spectmgmt.c
parentmac80211: Print text for disassociation reason (diff)
downloadkernel-qcow2-linux-2fb51c35815dc08638a7d9b1a497a9d7cb4109b8.tar.gz
kernel-qcow2-linux-2fb51c35815dc08638a7d9b1a497a9d7cb4109b8.tar.xz
kernel-qcow2-linux-2fb51c35815dc08638a7d9b1a497a9d7cb4109b8.zip
ieee80211: rename CCFS1/CCFS2 to CCFS0/CCFS1
This matches the spec, and otherwise things are really confusing with the next patch adding CCFS2. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/spectmgmt.c')
-rw-r--r--net/mac80211/spectmgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/spectmgmt.c b/net/mac80211/spectmgmt.c
index 97f4c9d6b54c..0782e486fe89 100644
--- a/net/mac80211/spectmgmt.c
+++ b/net/mac80211/spectmgmt.c
@@ -132,9 +132,9 @@ int ieee80211_parse_ch_switch_ie(struct ieee80211_sub_if_data *sdata,
struct ieee80211_vht_operation vht_oper = {
.chan_width =
wide_bw_chansw_ie->new_channel_width,
- .center_freq_seg1_idx =
+ .center_freq_seg0_idx =
wide_bw_chansw_ie->new_center_freq_seg0,
- .center_freq_seg2_idx =
+ .center_freq_seg1_idx =
wide_bw_chansw_ie->new_center_freq_seg1,
/* .basic_mcs_set doesn't matter */
};