wifi: ieee80211: Fix the common size calculation for reconfiguration ML
authorIlan Peer <ilan.peer@intel.com>
Sun, 18 Jun 2023 18:49:45 +0000 (21:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:10 +0000 (16:21 +0200)
commitf114b159b2c19c68d55e43e9abbcdc7613c98237
tree7325b33b31372189f0d323613fe3031dfa08d4ad
parentffb0733664cc398b36831730e64503951fa82597
wifi: ieee80211: Fix the common size calculation for reconfiguration ML

[ Upstream commit ce6e1f600b0cfc563a7d607de702262a58cd835d ]

The common information length is found in the first octet of the common
information.

Fixes: 0f48b8b88aa9 ("wifi: ieee80211: add definitions for multi-link element")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230618214435.3c7ed4817338.I42ef706cb827b4dade6e4ffbb6e7f341eaccd398@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/ieee80211.h