3
0
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:
James Prestwood 2025-08-22 12:51:06 -07:00 committed by Denis Kenzior
parent 46037c428c
commit 8cb134f935

View File

@ -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)