wifi: cfg80211/mac80211: Fix ML element common size calculation
authorIlan Peer <ilan.peer@intel.com>
Wed, 7 Sep 2022 14:23:09 +0000 (17:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:10 +0000 (16:21 +0200)
commitffb0733664cc398b36831730e64503951fa82597
tree451c3d1840362a006c7280ef03d4e89013d85e89
parent132b7129c5fe90197d2581dd5e786542f9a09d86
wifi: cfg80211/mac80211: Fix ML element common size calculation

[ Upstream commit 1403b109c9a5244dc6ab79154f04eecc209ef3d2 ]

The common size is part of the length in the data
so don't add it again.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Stable-dep-of: ce6e1f600b0c ("wifi: ieee80211: Fix the common size calculation for reconfiguration ML")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/ieee80211.h