qcacld-3.0: Fix wrong multiplication to iface change timer
Interface change timer is wrongly multiplied by 50000 leading to very large timeout value and FW getting stuck in ON state even if there is no active interface and leading to battery drain. Fix the battery drain issue by removing the wrong multiplication. Change-Id: Icc23bc6c666c2e474c17c9a5175ca54721861e0d CRs-Fixed: 2017489
This commit is contained in:

committed by
Sandeep Puligilla

parent
23162cb100
commit
512f48af6a
@@ -2344,8 +2344,7 @@ stop_modules:
|
|||||||
if (hdd_check_for_opened_interfaces(pHddCtx)) {
|
if (hdd_check_for_opened_interfaces(pHddCtx)) {
|
||||||
hdd_info("Closing all modules from the add_virt_iface");
|
hdd_info("Closing all modules from the add_virt_iface");
|
||||||
qdf_mc_timer_start(&pHddCtx->iface_change_timer,
|
qdf_mc_timer_start(&pHddCtx->iface_change_timer,
|
||||||
pHddCtx->config->iface_change_wait_time
|
pHddCtx->config->iface_change_wait_time);
|
||||||
* 50000);
|
|
||||||
} else
|
} else
|
||||||
hdd_info("Other interfaces are still up dont close modules!");
|
hdd_info("Other interfaces are still up dont close modules!");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user