qcacmn: Follow spec for NL80211_CMD_START_SCHED_SCAN

qcacld-2.0 to qca-wifi-host-cmn propagation

If no SSID are passed to NL80211_CMD_START_SCHED_SCAN cmd,
interface spec requires that an active scan is not needed.
Therefore a passive scan is now requested by cfg80211_sched_scan_request
for this case.

Change-Id: I1b1b9232ffb9d8d5c0bc9a1d75145d39c9fe9e6b
CRs-Fixed: 902092
このコミットが含まれているのは:
Manjeet Singh
2016-08-11 15:31:34 +05:30
committed by Nandini Suresh
コミット cd2dc06409

ファイルの表示

@@ -7544,6 +7544,8 @@ static QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle,
cmd->active_dwell_time = pno->active_dwell_time;
cmd->passive_dwell_time = pno->passive_dwell_time;
if (pno->do_passive_scan)
cmd->flags |= WMI_NLO_CONFIG_SCAN_PASSIVE;
/* Copy scan interval */
cmd->fast_scan_period = pno->fast_scan_period;
cmd->slow_scan_period = pno->slow_scan_period;