mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
[ Upstream commit1177aaa7fe] 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. Fixes:0f48b8b88a("wifi: ieee80211: add definitions for multi-link element") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>