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
This commit is contained in:
Rajeev Kumar 2016-04-25 17:35:33 -07:00 • committed by Vishwajith Upendra
commit 9be537edc0

View file

@ -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);