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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user