From 012ce4fed176a6e92fdc3f7c6ceddf8725b7dcb7 Mon Sep 17 00:00:00 2001 From: jiad Date: Thu, 13 Apr 2017 16:50:07 +0800 Subject: qcacld-2.0: Restore host CPU power save config During driver load time, host CPU idle or stand alone power save is disabled to boost driver load time. Upon driver load completion or failure, host CPU power save config needs to be restored. When vos_preOpen() failed, this action is missing. Fix is to call vos_remove_pm_qos() when vos_preOpen() failed. Change-Id: Icf90f894a16901a3c0cc91e98b08d75d9d59186a CRs-Fixed: 2033190 --- CORE/HDD/src/wlan_hdd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 2c9b47feeafb..bbf82b0a46cb 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -16544,6 +16544,7 @@ static int hdd_driver_init( void) if (!VOS_IS_STATUS_SUCCESS(status)) { hddLog(VOS_TRACE_LEVEL_FATAL,"%s: Failed to preOpen VOSS", __func__); + vos_remove_pm_qos(); ret_status = -1; break; } -- cgit v1.2.3