From cfc4e23ee9b5d49af328a3e5680489a87db06950 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 20 Dec 2018 11:04:57 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 52e50ddbba94..8fab96579acd 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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;