scan: add colocated scan flag

This commit is contained in:
James Prestwood 2022-07-19 11:55:33 -07:00 committed by Denis Kenzior
parent 07a3b1d655
commit e089ab2de2
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc,
if (params->ap_scan)
flags |= NL80211_SCAN_FLAG_AP;
flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ;
if (flags)
l_genl_msg_append_attr(msg, NL80211_ATTR_SCAN_FLAGS, 4, &flags);