浏览代码

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
lifeng 5 年之前
父节点
当前提交
c476163754
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      components/pmo/core/src/wlan_pmo_suspend_resume.c

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