From 03f2ec07f7af5a0219a5fcd402243210c25f695f Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Thu, 31 May 2018 14:02:44 -0700 Subject: [PATCH] qcacmn: Use configured value for channel_prediction The scan component is currently using an unrelated field to populate the PNO channel prediction enabled field sent to firmware. Use channel_prediction instead. Change-Id: I88b066c1b61e7ce49fcee889dfed9b1208d2862f CRs-Fixed: 2252153 --- umac/scan/dispatcher/src/wlan_scan_ucfg_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c index 750ef24dacd0..e58a54a92fc3 100644 --- a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c @@ -330,7 +330,7 @@ ucfg_scan_get_pno_def_params(struct wlan_objmgr_vdev *vdev, */ ucfg_scan_update_pno_dwell_time(vdev, req, scan_def); req->adaptive_dwell_mode = pno_def->adaptive_dwell_mode; - req->pno_channel_prediction = pno_def->adaptive_dwell_mode; + req->pno_channel_prediction = pno_def->channel_prediction; req->top_k_num_of_channels = pno_def->top_k_num_of_channels; req->stationary_thresh = pno_def->stationary_thresh; req->channel_prediction_full_scan =