diff options
| author | jiad <jiad@codeaurora.org> | 2017-04-13 16:50:07 +0800 |
|---|---|---|
| committer | jiad <jiad@codeaurora.org> | 2017-04-13 17:12:41 +0800 |
| commit | 012ce4fed176a6e92fdc3f7c6ceddf8725b7dcb7 (patch) | |
| tree | c27fc1a966bf232862c6379c0e5d5195c4d62a94 | |
| parent | 08290584a807fad4e78c6acff954b78cd3d88932 (diff) | |
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
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
