qcacld-3.0: Fix INI params to get the adaptive dwell time for PNO

PNO adaptive dwell mode is updated from adaptive_dwell_mode_enabled
instead of pnoscan_adaptive_dwell_mode.

Use pnoscan_adaptive_dwell_mode to update the PNO adaptive dwell time
mode.

Change-Id: Ia1f44fa6e3bf65ca41e1a29dcdac345432923e76
CRs-Fixed: 2370377
This commit is contained in:
Abhishek Singh
2018-12-20 11:04:57 +05:30
committed by nshrivas
parent 6f20e30949
commit cfc4e23ee9

View File

@@ -14384,7 +14384,7 @@ static inline void hdd_update_pno_config(struct pno_user_cfg *pno_cfg,
pno_cfg->channel_prediction = cfg->pno_channel_prediction;
pno_cfg->top_k_num_of_channels = cfg->top_k_num_of_channels;
pno_cfg->stationary_thresh = cfg->stationary_thresh;
pno_cfg->adaptive_dwell_mode = cfg->adaptive_dwell_mode_enabled;
pno_cfg->adaptive_dwell_mode = cfg->pnoscan_adaptive_dwell_mode;
pno_cfg->channel_prediction_full_scan =
cfg->channel_prediction_full_scan;