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
This commit is contained in:
Rajeev Kumar
2018-05-02 15:51:35 -07:00
committed by nshrivas
parent 76fb31df31
commit c396c9015a

View File

@@ -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);