summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2017-05-16 11:23:16 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-05-19 13:34:26 +0200
commit3b23782f7d004f3d7fa655623ebca3137b442656 (patch)
treed5f10a5d80bc2ba8cd1e2c0194da64ffdf0e127c /net
parent0ab2e55d33346972297972dd6bb4623159a1b239 (diff)
mac80211: mark as action frame when parsing IEs of CSA action frames
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 7e0498bb9337..2f189c59ae80 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -1262,7 +1262,7 @@ static void mesh_rx_csa_frame(struct ieee80211_sub_if_data *sdata,
pos = mgmt->u.action.u.chan_switch.variable;
baselen = offsetof(struct ieee80211_mgmt,
u.action.u.chan_switch.variable);
- ieee802_11_parse_elems(pos, len - baselen, false, &elems);
+ ieee802_11_parse_elems(pos, len - baselen, true, &elems);
ifmsh->chsw_ttl = elems.mesh_chansw_params_ie->mesh_ttl;
if (!--ifmsh->chsw_ttl)