summaryrefslogtreecommitdiffstats
path: root/kernel/net/mac80211/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/mac80211/mesh.c')
-rw-r--r--kernel/net/mac80211/mesh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/mac80211/mesh.c b/kernel/net/mac80211/mesh.c
index d4684242e..817098add 100644
--- a/kernel/net/mac80211/mesh.c
+++ b/kernel/net/mac80211/mesh.c
@@ -680,6 +680,7 @@ ieee80211_mesh_build_beacon(struct ieee80211_if_mesh *ifmsh)
*pos++ = 0x0;
*pos++ = ieee80211_frequency_to_channel(
csa->settings.chandef.chan->center_freq);
+ bcn->csa_current_counter = csa->settings.count;
bcn->csa_counter_offsets[0] = hdr_len + 6;
*pos++ = csa->settings.count;
*pos++ = WLAN_EID_CHAN_SWITCH_PARAM;