Ver código fonte

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 anos atrás
pai
commit
c476163754
1 arquivos alterados com 1 adições e 2 exclusões
  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);