From 05d124f8cb8d8b6f67178efef511482bb481da51 Mon Sep 17 00:00:00 2001 From: Anurag Chouhan Date: Sat, 3 Sep 2016 16:21:50 +0530 Subject: qcacld-3.0: Logging level changes on wlan HOST qcacld-2.0 to qcacld-3.0 propagation. As there are a lot of prints dropped on the console in short duration, it leads to interrupt disablement on the cpu. So reducing the logging level of log statement from ERROR to INFO Change-Id: I3eefac49378a7bfbcc235b1dd3362e1213fa1f42 CRs-Fixed: 886644 (cherry picked from commit 06c7d1b4aa89fb5c25241cec0558d559ee93b683) --- core/utils/logging/src/wlan_logging_sock_svc.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'core/utils/logging') 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; } -- cgit v1.2.3