mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-10-09 10:27:26 +02:00
scan: check support before using colocated flag
This commit is contained in:
parent
46037c428c
commit
8cb134f935
@ -414,6 +414,7 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc,
|
||||
if (params->ap_scan)
|
||||
flags |= NL80211_SCAN_FLAG_AP;
|
||||
|
||||
if (wiphy_supports_colocated_flag(sc->wiphy))
|
||||
flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ;
|
||||
|
||||
if (flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user