From c476163754de090ff27a00ffb783480c73b30532 Mon Sep 17 00:00:00 2001 From: lifeng Date: Thu, 30 May 2019 14:05:40 +0800 Subject: [PATCH] qcacld-3.0: Update target suspend flag in legacy d0wow enable Host failed to send legacy d0wow disable command due to failure in target suspend flag check during resume. Update target suspend flag in legacy d0wow enable. Change-Id: I497c46b90a8fb5deb78ce31fb6e5b0d2c76d723d CRs-Fixed: 2460452 --- components/pmo/core/src/wlan_pmo_suspend_resume.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/pmo/core/src/wlan_pmo_suspend_resume.c b/components/pmo/core/src/wlan_pmo_suspend_resume.c index fffdc98a7122..10bad9083d67 100644 --- a/components/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/components/pmo/core/src/wlan_pmo_suspend_resume.c @@ -755,8 +755,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc, goto out; } - if (psoc_ctx->wow.wow_state != pmo_wow_state_legacy_d0) - pmo_tgt_update_target_suspend_flag(psoc, true); + pmo_tgt_update_target_suspend_flag(psoc, true); status = qdf_wait_for_event_completion(&psoc_ctx->wow.target_suspend, PMO_TARGET_SUSPEND_TIMEOUT);