Explorar el Código

qcacld-3.0: Remove CONFIG_MCL in wlan_flush_host_logs_for_fatal

This is to Remove CONFIG_MCL in qcacmn code.
Related qcacmn change is
Ie231e966229789bcd8fa69aef1bc20e9b07a88ae.

Change-Id: I7b9500bc5de74be20d404758b43fca590bbf7caa
CRs-Fixed: 2484900
Jingxiang Ge hace 5 años
padre
commit
92fd1ee387
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      core/cds/src/cds_api.c

+ 2 - 1
core/cds/src/cds_api.c

@@ -2301,7 +2301,8 @@ uint32_t cds_get_log_indicator(void)
  */
 void cds_wlan_flush_host_logs_for_fatal(void)
 {
-	wlan_flush_host_logs_for_fatal();
+	if (cds_is_log_report_in_progress())
+		wlan_flush_host_logs_for_fatal();
 }
 
 /**