summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreelakshmi Konamki <skonam@codeaurora.org>2016-08-29 18:26:07 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-08-30 13:15:17 +0530
commit801844f032bc0a4e0ffa708f93f503633a618108 (patch)
treec3b9abba1f958744848805febcd68a56cc188049
parent9673351caa918f2c23db1dc56f88b77bbba78cc0 (diff)
qcacld-2.0: Reduce wakelock resume wlan timeout to 1 sec
Supplicant can get the scan results within 1 sec, 2 sec is aggressive. Reduce time duration of WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN from 2 sec to 1 sec. Change-Id: I83a2c674f1e42fc78480b194ad08b903b8fecffa CRs-Fixed: 1060384
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index d0b676942cab..4fd6b7c62e25 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -24015,7 +24015,7 @@ int __wlan_hdd_cfg80211_resume_wlan(struct wiphy *wiphy)
* results in app's is in suspended state and not able to
* process the connect request to AP
*/
- hdd_prevent_suspend_timeout(2000,
+ hdd_prevent_suspend_timeout(1000,
WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN);
cfg80211_sched_scan_results(pHddCtx->wiphy);
}