qcacmn: Remove CONFIG_MCL in wlan_flush_host_logs_for_fatal

This is to remove CONFIG_MCL in wlan_flush_host_logs_for_fatal.
And move condition cds_is_log_report_in_progress to qcacld code.

Change-Id: Ie231e966229789bcd8fa69aef1bc20e9b07a88ae
CRs-Fixed: 2484897
This commit is contained in:
Jingxiang Ge
2019-07-05 17:10:52 +08:00
committed by nshrivas
parent e575abcaa6
commit 4cbb2ada5b

View File

@@ -1126,9 +1126,6 @@ void wlan_flush_host_logs_for_fatal(void)
{ {
unsigned long flags; unsigned long flags;
#ifdef CONFIG_MCL
if (cds_is_log_report_in_progress()) {
#endif
if (gwlan_logging.flush_timer_period == 0) if (gwlan_logging.flush_timer_period == 0)
pr_info("%s:flush all host logs Setting HOST_LOG_POST_MASK\n", pr_info("%s:flush all host logs Setting HOST_LOG_POST_MASK\n",
__func__); __func__);
@@ -1137,9 +1134,6 @@ void wlan_flush_host_logs_for_fatal(void)
spin_unlock_irqrestore(&gwlan_logging.spin_lock, flags); spin_unlock_irqrestore(&gwlan_logging.spin_lock, flags);
set_bit(HOST_LOG_DRIVER_MSG, &gwlan_logging.eventFlag); set_bit(HOST_LOG_DRIVER_MSG, &gwlan_logging.eventFlag);
wake_up_interruptible(&gwlan_logging.wait_queue); wake_up_interruptible(&gwlan_logging.wait_queue);
#ifdef CONFIG_MCL
}
#endif
} }
#ifdef FEATURE_PKTLOG #ifdef FEATURE_PKTLOG