diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2018-05-02 12:04:27 -0700 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-16 08:45:03 -0700 |
| commit | 44549429b2bb7c01be09b88b3aac7a95c500d3ab (patch) | |
| tree | e8f0277c89a6bd35ecad162785465dedf4fbda70 /core/utils | |
| parent | ad6423a03e5c011331ded266b2063ee2bef26c43 (diff) | |
qcacld-3.0: Log reason code while flushing logging events
Log reason code while flushing logging events to precisely know
the reason of failure.
Change-Id: Ibe26563780f165e85490c54c2b4f83d959a3587f
CRs-Fixed: 2235138
Diffstat (limited to 'core/utils')
| -rw-r--r-- | core/utils/logging/src/wlan_logging_sock_svc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c index f312de5411a2..d93653764b74 100644 --- a/core/utils/logging/src/wlan_logging_sock_svc.c +++ b/core/utils/logging/src/wlan_logging_sock_svc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -741,8 +741,8 @@ static void send_flush_completion_to_user(uint8_t ring_id) /* Error on purpose, so that it will get logged in the kmsg */ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG, - "%s: Sending flush done to userspace, recovery: %d", - __func__, recovery_needed); + "%s: Sending flush done to userspace reson_code %d, recovery: %d", + __func__, reason_code, recovery_needed); wlan_report_log_completion(is_fatal, indicator, reason_code, ring_id); |
