From 8cf0c34663896dc48530e1faac8ac599bfd87673 Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Mon, 22 Jul 2019 14:29:52 +0800 Subject: [PATCH] qcacmn: Remove CONFIG_MCL wlan_logging_sock_deinit_svc This is to remove CONFIG_MCL wlan_logging_sock_deinit_svc. Change-Id: I4e31bddb0fb2ac25c031dc05eec60e54032322de CRs-Fixed: 2494078 --- utils/logging/src/wlan_logging_sock_svc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index 0e2c3e0a18..e7be61cf2a 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/utils/logging/src/wlan_logging_sock_svc.c @@ -43,6 +43,7 @@ #include #include #include "host_diag_core_log.h" +#include #ifdef CNSS_GENL #include @@ -1021,12 +1022,10 @@ int wlan_logging_sock_deinit_svc(void) if (!gwlan_logging.pcur_node) return 0; -#ifdef CONFIG_MCL INIT_COMPLETION(gwlan_logging.shutdown_comp); -#endif gwlan_logging.exit = true; gwlan_logging.is_active = false; -#ifdef CONFIG_MCL +#if defined(FEATURE_FW_LOG_PARSING) || defined(FEATURE_WLAN_DIAG_SUPPORT) cds_set_multicast_logging(0); #endif gwlan_logging.is_flush_complete = false;