wifi: mac80211: disallow basic multi-link element in per-STA profile
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:06:54 +0000 (20:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:43 +0000 (15:00 +0100)
commita57944d1ee8bf29cbdf7d6b8e9579d88bf912c3e
tree87093407c70a8e67a580926f99ffeb6db9a0eaf3
parent3552a22880eed3e834a33d02aec6800974bb42b4
wifi: mac80211: disallow basic multi-link element in per-STA profile

There really shouldn't be a basic multi-link element in any
per-STA profile in an association response, it's not clear
what that would really mean. Refuse connecting in this case
since the AP isn't following the spec.

Link: https://msgid.link/20240129200652.23f1e3b337f1.Idd2e43cdbfe3ba15b3e9b8aeb54c8115587177a0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c