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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:30 +0000 (12:05 +0200)
commitce6e1f600b0cfc563a7d607de702262a58cd835d
tree5b22a7d8c9a439cfb419f08996a9f6f2feeb3dac
parentdbd396636870b30c2c11c098bfc30e124198d29f
wifi: ieee80211: Fix the common size calculation for reconfiguration ML

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>
include/linux/ieee80211.h