qcacld-3.0: Read correct ini values for roam inactivity configs
Incorrect ini values are read for the roam_scan_inactivity_time and roam_scan_period_after_inactivity. So wrong values are populated to firmware. This is seen with wlan-connection-roaming.ini ini file is present on the device. Read the value for roam_scan_inactivity_time from CFG_ROAM_SCAN_INACTIVE_TIMER and read roam_scan_period_after_inactivity from CFG_ROAM_SCAN_SECOND_TIMER. Change-Id: I98a9d99f09200a021a123226cfb714b1c49c51d5 CRs-Fixed: 3259600
This commit is contained in:

committed by
Madan Koyyalamudi

parent
130fb7f9dd
commit
3edfe4303e
@@ -2140,7 +2140,7 @@ static void mlme_init_lfr_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
if (val)
|
||||
lfr->roam_scan_inactivity_time =
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_SECOND_TIMER) * 1000;
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_INACTIVE_TIMER) * 1000;
|
||||
else
|
||||
lfr->roam_scan_inactivity_time =
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_INACTIVITY_TIME);
|
||||
@@ -2150,7 +2150,7 @@ static void mlme_init_lfr_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
if (val)
|
||||
lfr->roam_scan_period_after_inactivity =
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_INACTIVE_TIMER) * 1000;
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_SECOND_TIMER) * 1000;
|
||||
|
||||
else
|
||||
lfr->roam_scan_period_after_inactivity =
|
||||
|
Reference in New Issue
Block a user