wifi: cfg80211: ignore invalid TBTT info field types
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 16 Jun 2023 06:54:02 +0000 (09:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:28 +0000 (12:05 +0200)
commit03e7e493f1a3697eba115f3f69e296f7e47500ee
tree5af70cc14267738c6e96d3d079537c001e896854
parent108d202298bf03ce8d7e28bb94d23555c8385582
wifi: cfg80211: ignore invalid TBTT info field types

The TBTT information field type must be zero. This is only changed in
the 802.11be draft specification where the value 1 is used to indicate
that only the MLD parameters are included.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094949.7865606ffe94.I7ff28afb875d1b4c39acd497df8490a7d3628e3f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/wireless/scan.c