mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
07e6e08f3a
commit
9be537edc0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue