diff options
| author | Peng Xu <pxu@codeaurora.org> | 2017-09-29 11:50:23 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-10-04 17:06:46 -0700 |
| commit | 8f6dcee8ff6c509390b99ac0453cf09f271b21f6 (patch) | |
| tree | 75612044f667f6aba3fccd28f1424e54a6b1dc2e | |
| parent | 9f453c0c7fc5f58ecd9cc0a36f4953621c2730c7 (diff) | |
qcacld-3.0: Initialize spectral scan request parameters
Initialize all spectral scan request parameters before sending it to
FW via WMI command.
Change-Id: I915f3ca6d35435ba0312dd56221e3f58165f8cea
CRs-fixed: 2118891
| -rw-r--r-- | core/hdd/src/wlan_hdd_spectral.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_spectral.c b/core/hdd/src/wlan_hdd_spectral.c index 07021fdf027b..6d02989c8567 100644 --- a/core/hdd/src/wlan_hdd_spectral.c +++ b/core/hdd/src/wlan_hdd_spectral.c @@ -207,7 +207,9 @@ static int __wlan_hdd_cfg80211_spectral_scan_start(struct wiphy *wiphy, ss_req.vdev_id = adapter->sessionId; ss_req.active = 1; + ss_req.active_valid = 1; ss_req.enabled = 1; + ss_req.enabled_valid = 1; status = sme_start_spectral_scan(&ss_req); if (QDF_STATUS_SUCCESS != status) @@ -292,7 +294,9 @@ static int __wlan_hdd_cfg80211_spectral_scan_stop(struct wiphy *wiphy, ss_req.vdev_id = adapter->sessionId; ss_req.active = 0; + ss_req.active_valid = 1; ss_req.enabled = 0; + ss_req.enabled_valid = 1; status = sme_start_spectral_scan(&ss_req); if (QDF_STATUS_SUCCESS != status) |
