diff options
| author | 2023-10-05 22:57:34 +0200 | |
|---|---|---|
| committer | 2023-10-06 17:08:47 +0300 | |
| commit | 7d6904bf26b96ef087514cb7a8c50b62a4911c99 (patch) | |
| tree | 2feaff8495d88c2102dc2e017b7afc5c58db02d6 /net/wireless/scan.c | |
| parent | wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() (diff) | |
| parent | wifi: iwlwifi: mvm: Fix incorrect usage of scan API (diff) | |
| download | wireguard-linux-7d6904bf26b96ef087514cb7a8c50b62a4911c99.tar.xz wireguard-linux-7d6904bf26b96ef087514cb7a8c50b62a4911c99.zip | |
Merge wireless into wireless-next
Resolve several conflicts, mostly between changes/fixes in
wireless and the locking rework in wireless-next. One of
the conflicts actually shows a bug in wireless that we'll
want to fix separately.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Diffstat (limited to 'net/wireless/scan.c')
| -rw-r--r-- | net/wireless/scan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index a5758edf53b8..8d114faf4842 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -908,6 +908,10 @@ static int cfg80211_scan_6ghz(struct cfg80211_registered_device *rdev) !cfg80211_find_ssid_match(ap, request)) continue; + if (!is_broadcast_ether_addr(request->bssid) && + !ether_addr_equal(request->bssid, ap->bssid)) + continue; + if (!request->n_ssids && ap->multi_bss && !ap->transmitted_bssid) continue; |
