Browse Source

qcacld-3.0: Remove CONFIG_MCL in wlan_logging_set_fw_flush_complete

This is to remove CONFIG_MCL from qcacmn code.
Related qcacmn change is
Ia417c90060b20b004b1e5408be654ff392a8113d.

Move cds_is_fatal_event_enabled from
wlan_logging_set_fw_flush_complete to
cds_logging_set_fw_flush_complete.

Change-Id: I709c1f9be40d0b09df512d995a72edd5e7a5c820
CRs-Fixed: 2484843
Jingxiang Ge 5 years ago
parent
commit
ce8ebf794d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/cds/src/cds_api.c

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

@@ -2388,7 +2388,8 @@ QDF_STATUS cds_flush_logs(uint32_t is_fatal,
  */
 void cds_logging_set_fw_flush_complete(void)
 {
-	wlan_logging_set_fw_flush_complete();
+	if (cds_is_fatal_event_enabled())
+		wlan_logging_set_fw_flush_complete();
 }
 
 /**