diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2016-04-25 17:35:33 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-04-27 17:00:29 -0700 |
| commit | 9be537edc083f0617d711959a1db3cc84d2991ca (patch) | |
| tree | 9fa853cace9fb79489d75c7d052c82f7447472b0 | |
| parent | 07e6e08f3a54804b4e6176c9146a54e608fb2c56 (diff) | |
qcacld-3.0: Fix resume regression caused by QDF convergence
WMA bus resume returns un-initialized local variable as status
to hdd bus resume callback which does bug on if status is not 0.
Fix WMA bus resume routine to return proper qdf status
and conver it into linux status before returnign it to HDD.
Change-Id: I8f36c11552412b569ac33afa320fd39fa3fedc50
CRs-Fixed: 1008027
| -rw-r--r-- | core/wma/src/wma_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index e43515e04b49..447aa417635b 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -5598,7 +5598,7 @@ int __wma_bus_resume(WMA_HANDLE handle) WMA_LOGE("%s: wow mode %d", __func__, wow_mode); if (!wow_mode) - return wma_resume_target(handle); + return qdf_status_to_os_return(wma_resume_target(handle)); status = wma_disable_wow_in_fw(handle); return qdf_status_to_os_return(status); |
