diff --git a/components/pmo/core/src/wlan_pmo_suspend_resume.c b/components/pmo/core/src/wlan_pmo_suspend_resume.c index 6c07d981c251..682e5fcaa26a 100644 --- a/components/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/components/pmo/core/src/wlan_pmo_suspend_resume.c @@ -1284,6 +1284,8 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc, if (status != QDF_STATUS_SUCCESS) goto fail; + hif_process_runtime_resume_success(hif_ctx); + if (htc_runtime_resume(htc_ctx)) { status = QDF_STATUS_E_FAILURE; goto fail; @@ -1293,8 +1295,6 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc, if (status != QDF_STATUS_SUCCESS) goto fail; - hif_process_runtime_resume_success(hif_ctx); - fail: if (status != QDF_STATUS_SUCCESS) qdf_trigger_self_recovery(psoc, QDF_RESUME_TIMEOUT);