mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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
This commit is contained in:
parent
6fed2fd619
commit
dcce809079
2 changed files with 5 additions and 0 deletions
|
|
@ -2253,6 +2253,10 @@ QDF_STATUS cds_set_log_completion(uint32_t is_fatal,
|
|||
p_cds_context->log_complete.recovery_needed = recovery_needed;
|
||||
p_cds_context->log_complete.is_report_in_progress = true;
|
||||
qdf_spinlock_release(&p_cds_context->bug_report_lock);
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: is_fatal %d ind %d reasn_code %d recovery needed %d",
|
||||
__func__, is_fatal, indicator, reason_code, recovery_needed);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2457,6 +2457,7 @@ static int wma_flush_complete_evt_handler(void *handle,
|
|||
|
||||
wmi_event = param_buf->fixed_param;
|
||||
reason_code = wmi_event->reserved0;
|
||||
WMA_LOGD("Received reason code %d from FW", reason_code);
|
||||
|
||||
buf_ptr = (uint8_t *)wmi_event;
|
||||
buf_ptr = buf_ptr + sizeof(wmi_debug_mesg_flush_complete_fixed_param) +
|
||||
|
|
|
|||
Loading…
Reference in a new issue