diff options
Diffstat (limited to 'core/utils/logging')
| -rw-r--r-- | core/utils/logging/src/wlan_logging_sock_svc.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c index 810416d76666..d730138fdd25 100644 --- a/core/utils/logging/src/wlan_logging_sock_svc.c +++ b/core/utils/logging/src/wlan_logging_sock_svc.c @@ -570,10 +570,9 @@ static int wlan_logging_thread(void *Arg) break; } - if (gwlan_logging.exit) { - pr_err("%s: Exiting the thread\n", __func__); + if (gwlan_logging.exit) break; - } + if (test_and_clear_bit(HOST_LOG_DRIVER_MSG, &gwlan_logging.eventFlag)) { @@ -623,8 +622,6 @@ static int wlan_logging_thread(void *Arg) } } - pr_info("%s: Terminating\n", __func__); - complete_and_exit(&gwlan_logging.shutdown_comp, 0); return 0; @@ -685,9 +682,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf) int i = 0; unsigned long irq_flag; - pr_info("%s: Initalizing FEConsoleLog = %d NumBuff = %d\n", - __func__, log_fe_to_console, num_buf); - gapp_pid = INVALID_PID; gplog_msg = (struct log_msg *)vmalloc(num_buf * sizeof(struct log_msg)); @@ -738,7 +732,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf) nl_srv_register(ANI_NL_MSG_LOG, wlan_logging_proc_sock_rx_msg); - pr_info("%s: Activated wlan_logging svc\n", __func__); return 0; } @@ -770,8 +763,6 @@ int wlan_logging_sock_deactivate_svc(void) vfree(gplog_msg); gplog_msg = NULL; - pr_info("%s: Deactivate wlan_logging svc\n", __func__); - return 0; } |
