mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Fix compilation errors for runtime PM feature
Fix compilation errors in order to enable to compile runtime PM feature. Change-Id: Ie15fa5ae1ef06c27658e5b38af0e832076e3d920 CRs-fixed: 2023358
This commit is contained in:
parent
4710ac391e
commit
b14663f00a
1 changed files with 2 additions and 1 deletions
|
|
@ -969,6 +969,7 @@ static int __wlan_hdd_runtime_suspend(struct device *dev)
|
|||
void *htc_ctx = cds_get_context(QDF_MODULE_ID_HTC);
|
||||
int status = wlan_hdd_validate_context(hdd_ctx);
|
||||
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
|
||||
struct wow_enable_params wow_params = {0};
|
||||
|
||||
if (0 != status)
|
||||
goto process_failure;
|
||||
|
|
@ -986,7 +987,7 @@ static int __wlan_hdd_runtime_suspend(struct device *dev)
|
|||
if (status)
|
||||
goto resume_txrx;
|
||||
|
||||
status = wma_runtime_suspend(0);
|
||||
status = wma_runtime_suspend(wow_params);
|
||||
if (status)
|
||||
goto resume_htc;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue