wifi: cfg80211/mac80211: Fix ML element common size calculation

[ Upstream commit 1403b109c9 ]

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: ce6e1f600b ("wifi: ieee80211: Fix the common size calculation for reconfiguration ML")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Ilan Peer 2022-09-07 17:23:09 +03:00 • committed by Greg Kroah-Hartman
commit ffb0733664