]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: Drop entries with invalid BSSIDs in RNR
authorIlan Peer <ilan.peer@intel.com>
Mon, 24 Apr 2023 07:32:24 +0000 (10:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:46 +0000 (17:32 +0100)
commit6cad5160140a0c13136ba4fd2a88cc25a50d76df
tree626e296a0333e5bc95fe139e245336826042e067
parent44a41dec57eb56e31c29cf0cbb0a08c92ae9b0b1
wifi: cfg80211: Drop entries with invalid BSSIDs in RNR

[ Upstream commit 1b6b4ed01493b7ea2205ab83c49198f7d13ca9d2 ]

Ignore AP information for entries that include an invalid
BSSID in the TBTT information field, e.g., all zeros BSSIDs.

Fixes: c16cfbd1f1ed ("nl80211/cfg80211: support 6 GHz scanning")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230424103224.5e65d04d1448.Ic10c8577ae4a85272c407106c9d0a2ecb5372743@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/scan.c