diff options
author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2023-10-04 12:12:02 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-10-23 11:47:26 +0200 |
commit | e433304ab437a6edff6b666246f7251d9a596b91 (patch) | |
tree | a4f468ddd7e0817e7b3c4155f8db8cd52410968c /include/net/mac80211.h | |
parent | 06d6af4e1223339bb597b02fa8ad3f979ddb5511 (diff) |
wifi: mac80211: Check if we had first beacon with relevant links
If there is a disassoc before the fisrt beacon we need to protect a
session for the deauth frame. Currently we are checking if we had a
beacon in the default link, which is wrong in a MLO connection and
link id != 0.
Fix this by checking all the active links, if none had a beacon then
protect a session.
If at least one link had a beacon there is no need for session
protection.
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004120820.d290f0ab77b0.Ic1505cf3d60f74580d31efa7e52046947c490b85@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions