Commit 2f6641fd authored by Johannes Berg's avatar Johannes Berg Committed by Lee Jones
Browse files

UPSTREAM: wifi: fix multi-link element subelement iteration



The subelements obviously start after the common data, including
the common multi-link element structure definition itself. This
bug was possibly just hidden by the higher bits of the control
being set to 0, so the iteration just found one bogus element
and most of the code could continue anyway.

Bug: 254441685
Fixes: 0f48b8b8 ("wifi: ieee80211: add definitions for multi-link element")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
(cherry picked from commit 1177aaa7)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Iec90b3aa981ce0d90aaa7e6d92bf061418c62bde
parent 0cc04953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment