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:
Yue Ma 2017-03-24 11:04:00 -07:00 • committed by Sandeep Puligilla
commit b14663f00a

View file

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