From b14663f00aa88ee941d52936068efca40de15f13 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Fri, 24 Mar 2017 11:04:00 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_driver_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 83b2ad6b71b5..be59d982bf7d 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -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;