From ecb37344d6c149767d0e59138603c78540a70225 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Wed, 22 Apr 2020 15:41:32 -0700 Subject: [PATCH] qcacld-3.0: Add debug panic if FW ready event is timed out If FW ready event is timed out, then add debug panic such that we can collect FW ram dump reliably. Change-Id: I61f19023675ec6d7bb4ff882d4a08f0ffcee1607 CRs-Fixed: 2670314 --- core/wma/src/wma_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 91630eeba6..4fe4a888c1 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -6918,6 +6918,7 @@ QDF_STATUS wma_wait_for_ready_event(WMA_HANDLE handle) WMA_READY_EVENTID_TIMEOUT); if (!tgt_hdl->info.wmi_ready) { wma_err("Error in pdev creation"); + QDF_DEBUG_PANIC("FW ready event timed out"); return QDF_STATUS_E_INVAL; }