Răsfoiți Sursa

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
Yue Ma 8 ani în urmă
părinte
comite
b14663f00a
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      core/hdd/src/wlan_hdd_driver_ops.c

+ 2 - 1
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;