aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/cfg.c1
-rw-r--r--net/mac80211/ibss.c1
-rw-r--r--net/mac80211/mesh.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 1a17d3208d8f..d1c94c6a12e1 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3437,6 +3437,7 @@ static int ieee80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
3437 /* Update CSA counters */ 3437 /* Update CSA counters */
3438 if (sdata->vif.csa_active && 3438 if (sdata->vif.csa_active &&
3439 (sdata->vif.type == NL80211_IFTYPE_AP || 3439 (sdata->vif.type == NL80211_IFTYPE_AP ||
3440 sdata->vif.type == NL80211_IFTYPE_MESH_POINT ||
3440 sdata->vif.type == NL80211_IFTYPE_ADHOC) && 3441 sdata->vif.type == NL80211_IFTYPE_ADHOC) &&
3441 params->n_csa_offsets) { 3442 params->n_csa_offsets) {
3442 int i; 3443 int i;
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 21716af8bec3..7f72bc9bae2e 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -146,6 +146,7 @@ ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata,
146 csa_settings->chandef.chan->center_freq); 146 csa_settings->chandef.chan->center_freq);
147 presp->csa_counter_offsets[0] = (pos - presp->head); 147 presp->csa_counter_offsets[0] = (pos - presp->head);
148 *pos++ = csa_settings->count; 148 *pos++ = csa_settings->count;
149 presp->csa_current_counter = csa_settings->count;
149 } 150 }
150 151
151 /* put the remaining rates in WLAN_EID_EXT_SUPP_RATES */ 152 /* put the remaining rates in WLAN_EID_EXT_SUPP_RATES */
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index d4684242e78b..817098add1d6 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -680,6 +680,7 @@ ieee80211_mesh_build_beacon(struct ieee80211_if_mesh *ifmsh)
680 *pos++ = 0x0; 680 *pos++ = 0x0;
681 *pos++ = ieee80211_frequency_to_channel( 681 *pos++ = ieee80211_frequency_to_channel(
682 csa->settings.chandef.chan->center_freq); 682 csa->settings.chandef.chan->center_freq);
683 bcn->csa_current_counter = csa->settings.count;
683 bcn->csa_counter_offsets[0] = hdr_len + 6; 684 bcn->csa_counter_offsets[0] = hdr_len + 6;
684 *pos++ = csa->settings.count; 685 *pos++ = csa->settings.count;
685 *pos++ = WLAN_EID_CHAN_SWITCH_PARAM; 686 *pos++ = WLAN_EID_CHAN_SWITCH_PARAM;