From 34bbc8a2122d42e8d5238d4aa474a71952cfd087 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Fri, 19 May 2017 16:03:16 -0700 Subject: [PATCH] qcacmn: Set wow_params explicitly for runtime PM For runtime PM, set proper wow_params instead of using default. Change-Id: Icc3d7b2333b485b7fe9ca6b0d30066cc5795d912 CRs-fixed: 2023358 --- pmo/core/src/wlan_pmo_suspend_resume.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmo/core/src/wlan_pmo_suspend_resume.c b/pmo/core/src/wlan_pmo_suspend_resume.c index b6e09e131e..550a8cb465 100644 --- a/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/pmo/core/src/wlan_pmo_suspend_resume.c @@ -757,6 +757,9 @@ QDF_STATUS pmo_core_psoc_bus_runtime_suspend(struct wlan_objmgr_psoc *psoc, goto dec_psoc_ref; } + wow_params.interface_pause = PMO_WOW_INTERFACE_PAUSE_ENABLE; + wow_params.resume_trigger = PMO_WOW_RESUME_TRIGGER_GPIO; + if (hif_pre_runtime_suspend(hif_ctx)) goto runtime_failure;