wifi: mac80211: defragment reconfiguration MLE when parsing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 08:48:14 +0000 (09:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:32:59 +0000 (14:32 +0100)
commit4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff
tree8becba504a9bb5bbd54c7f4730f287910c529b92
parent508c423d9444a5eeeebd66fcff19ebe346a05150
wifi: mac80211: defragment reconfiguration MLE when parsing

Using the scratch buffer (without advancing it) here in the
mlme.c code seems somewhat wrong, defragment the reconfig
multi-link element already when parsing. This might be a bit
more work in certain cases, but makes the whole thing more
regular.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240228094902.92936a3ce216.I4b736ce4fdc199fa1d6b00d00032f448c873a8b4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/parse.c