diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2017-03-09 14:02:51 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-09 22:53:57 -0800 |
| commit | 96ed291720f58c2aafd547706a206dc7e5f4e4e9 (patch) | |
| tree | be6a5502f7735b5874a05abcad80a95feec198ed | |
| parent | cb0a55c3deb41fac412a8050aa6ddc7a7bb063fd (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_p2p.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c index 9199932972aa..768dcc4dd6d4 100644 --- a/core/hdd/src/wlan_hdd_p2p.c +++ b/core/hdd/src/wlan_hdd_p2p.c @@ -2206,8 +2206,7 @@ stop_modules: if (hdd_check_for_opened_interfaces(pHddCtx)) { hdd_debug("Closing all modules from the add_virt_iface"); qdf_mc_timer_start(&pHddCtx->iface_change_timer, - pHddCtx->config->iface_change_wait_time - * 50000); + pHddCtx->config->iface_change_wait_time); } else hdd_debug("Other interfaces are still up dont close modules!"); |
