diff options
author | 2024-06-05 13:57:20 +0300 | |
---|---|---|
committer | 2024-06-12 13:04:26 +0200 | |
commit | 671b6b1b1ea5c260549c8f7401828147c40fa9cf (patch) | |
tree | 9984140de06d2e0c1268f93bf01e9f23483f91b3 /drivers/net/wireless/intel/iwlwifi/fw/api/debug.h | |
parent | wifi: mac80211: clean up 'ret' in sta_link_apply_parameters() (diff) | |
download | linux-rng-671b6b1b1ea5c260549c8f7401828147c40fa9cf.tar.xz linux-rng-671b6b1b1ea5c260549c8f7401828147c40fa9cf.zip |
wifi: cfg80211: honor WIPHY_FLAG_SPLIT_SCAN_6GHZ in cfg80211_conn_scan
If a user uses iw to connect to a network and we don't have any
information about the existing networks, cfg80211 will trigger a scan
internally even if the user didn't ask for a scan. This scan is
implemented by cfg80211_conn_scan(). This function called rdev_scan()
directly without honoring the WIPHY_FLAG_SPLIT_SCAN_6GHZ flag.
Use cfg80211_scan instead, this will split the scan if the low level
driver asked to.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240605135233.33f03661476a.I7b5be20a55aafe012cd9ddb3b4ba2d46b256ace4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/debug.h')
0 files changed, 0 insertions, 0 deletions