소스 검색

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 년 전
부모
커밋
ecb37344d6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
 	}