From 9c8c20f6c053c1740cb1ec5a2dcd3ca98209f53b Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Wed, 13 Feb 2019 16:12:59 +0800 Subject: [PATCH] qcacmn: Clean CONFIG_MCL for send_flush_completion_to_user The aim is to remove CONFIG_MCL or CONFIG_WIN from cmn component. This change takes care send_flush_completion_to_user. Cleaning up cmn code by replacing the CONFIG_MCL with macro FEATURE_WLAN_DIAG_SUPPORT. CRs-Fixed: 2397824 Change-Id: I57a82fec17210b49f778a950034ca442d11eb511 --- utils/logging/src/wlan_logging_sock_svc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index f9cc10d870..4d800a34a7 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/utils/logging/src/wlan_logging_sock_svc.c @@ -736,7 +736,7 @@ void wlan_report_log_completion(uint32_t is_fatal, } #endif -#ifdef CONFIG_MCL +#ifdef FEATURE_WLAN_DIAG_SUPPORT /** * send_flush_completion_to_user() - Indicate flush completion to the user * @ring_id: Ring id of logging entities @@ -823,7 +823,7 @@ static int wlan_logging_thread(void *Arg) ret = send_filled_buffers_to_user(); if (-ENOMEM == ret) msleep(200); -#ifdef CONFIG_MCL +#ifdef FEATURE_WLAN_DIAG_SUPPORT if (WLAN_LOG_INDICATOR_HOST_ONLY == cds_get_log_indicator()) { send_flush_completion_to_user( @@ -848,7 +848,7 @@ static int wlan_logging_thread(void *Arg) */ if (gwlan_logging.is_flush_complete == true) { gwlan_logging.is_flush_complete = false; -#ifdef CONFIG_MCL +#ifdef FEATURE_WLAN_DIAG_SUPPORT send_flush_completion_to_user( RING_ID_DRIVER_DEBUG); #endif