]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211: always expose multi-link element
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 May 2026 08:25:01 +0000 (10:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 12:11:57 +0000 (14:11 +0200)
commitd823fc25eaaf357be292bd9c827026985bd502b3
tree21a1aefcbc494c57ad8ba0d1f65dbd71b8aa5e81
parente48223525a54d3a3182d2d9a497dca022b942b4d
wifi: mac80211: always expose multi-link element

During beacon processing, the parser is always called with
a BSS to find the correct multi-BSSID profile (if any) and
therefore never attempts to parse a multi-link element.
This means the code to handle cross-link CSA can effectively
never do anything.

Fix this by parsing the multi-link element in the regular
parser as well.

Fixes: 7ef8f6821d16 ("wifi: mac80211: mlme: handle cross-link CSA")
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Link: https://patch.msgid.link/20260529102644.2a74b2659f50.I8f9454bf5e05c419a9b1eb23ecad302a6bf63fbb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/parse.c