Pārlūkot izejas kodu

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
Alan Chen 5 gadi atpakaļ
vecāks
revīzija
ecb37344d6
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      core/wma/src/wma_main.c

+ 1 - 0
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;
 	}