Message ID | 20170516092316.15636-8-sw@simonwunderlich.de (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Applied this as well, I assume you don't want patch 6 in before 5. johannes
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index a57af5df7ee4..ab07974cdcf4 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c @@ -1308,7 +1308,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)
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> --- net/mac80211/mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)