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
This commit is contained in:
Dustin Brown
2018-05-31 14:02:44 -07:00
committed by nshrivas
父節點 3a7669bf6c
當前提交 03f2ec07f7

查看文件

@@ -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 =