]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: nl80211: reject link specific elements on assoc link
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 09:53:20 +0000 (11:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:21 +0000 (11:43 +0200)
commit12dd3d97989b7df61ee641860a0eac905942d3b6
tree8836ae12c11d592a225075510e8c14d69b40b58b
parent53df1162f1202798bde0e5f90bd4d5907b5afdb1
wifi: nl80211: reject link specific elements on assoc link

When we associate, we'll include all the elements for the
link we're sending the association request on in the frame
and the specific ones for other links in the multi-link
element container. Prohibit adding link-specific elements
for the association link.

Fixes: 9783aa45b589 ("wifi: nl80211: support MLO in auth/assoc")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c