Browse Source

qcacmn: 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: 2235276
Rajeev Kumar 7 years ago
parent
commit
c396c9015a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      utils/logging/src/wlan_logging_sock_svc.c

+ 2 - 1
utils/logging/src/wlan_logging_sock_svc.c

@@ -706,7 +706,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", __func__);
+			"%s: Sending flush done to userspace reason code %d",
+			__func__, reason_code);
 
 	wlan_report_log_completion(is_fatal, indicator, reason_code, ring_id);