소스 검색

qcacld-3.0: Add an error log before forcing fw crash

Add an error log in cds_trigger_recovery_handler() before forcing a fw
crash to help with debugging stability issues revolving around it.

Change-Id: Ifc5faa14e1812d145abc7aecd12f66db51eef3b4
CRs-Fixed: 3043316
Alan Chen 3 년 전
부모
커밋
b7ce8eba14
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      core/cds/src/cds_api.c

+ 3 - 0
core/cds/src/cds_api.c

@@ -1976,6 +1976,9 @@ static void cds_trigger_recovery_handler(const char *func, const uint32_t line)
 		goto deinit_rtl;
 	}
 
+	cds_err("critical host timeout trigger fw recovery for reason code %d",
+		gp_cds_context->recovery_reason);
+
 	cds_set_recovery_in_progress(true);
 	cds_set_assert_target_in_progress(true);
 	if (pld_force_collect_target_dump(qdf->dev))