Same as in regular scan, in case of full sched scan need to set
NL80211_SCAN_FLAG_COLOCATED_6GHZ flag, to scan for collocated
APs by default.
Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
nla_put_nested(msg, NL80211_ATTR_SCAN_SSIDS, ssids);
if (have_freqs)
nla_put_nested(msg, NL80211_ATTR_SCAN_FREQUENCIES, freqs);
+ else
+ flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ;
if (have_matchset)
nla_put_nested(msg, NL80211_ATTR_SCHED_SCAN_MATCH, matchset);
if (have_plans)