diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index 0e2c3e0a184e..e7be61cf2aff 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;