From 607d7cef03f0fa305b1ba6745d23254ffdde4b7f Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Fri, 30 Jun 2017 13:53:43 -0700 Subject: [PATCH] qcacmn: Log QDF trace error/fatal messages using pr_err Currently QDF trace error/fatal log messages are logged using pr_info and bydefault these logs do not show up on console. Hence log QDF trace error/fatal log messages using pr_err such that bydefault these logs show up in console. Change-Id: I220e5eb93ea21d01b948c40432179f294530ba0d CRs-Fixed: 2070065 --- utils/logging/src/wlan_logging_sock_svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index ea0fa7af7e89..30b3f7099bc9 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/utils/logging/src/wlan_logging_sock_svc.c @@ -297,7 +297,7 @@ static int wlan_add_user_log_radio_time_stamp(char *tbuf, size_t tbuf_sz, #ifdef CONFIG_MCL static inline void print_to_console(char *tbuf, char *to_be_sent) { - pr_info("%s %s\n", tbuf, to_be_sent); + pr_err("%s %s\n", tbuf, to_be_sent); } #else #define print_to_console(str1, str2)