qcacld-3.0: Move panic messages into QDF_DEBUG_PANIC
QDF_DEBUG_PANIC has recently gained a reason parameter. Move instance of logging followed immediately by QDF_DEBUG_PANIC to single calls. Change-Id: I6633296fb1c82a3945cedc967de222410b9f5d9b CRs-Fixed: 2274413
This commit is contained in:
@@ -517,12 +517,9 @@ suspend_recovery:
|
||||
continue;
|
||||
|
||||
resume_status = handler(psoc, arg);
|
||||
if (QDF_IS_STATUS_ERROR(resume_status)) {
|
||||
pmo_fatal("Non-recoverable failure occurred!");
|
||||
pmo_fatal("component %d failed to resume; status: %d",
|
||||
i, resume_status);
|
||||
QDF_DEBUG_PANIC();
|
||||
}
|
||||
if (QDF_IS_STATUS_ERROR(resume_status))
|
||||
QDF_DEBUG_PANIC("component %d failed resume; status:%d",
|
||||
i, resume_status);
|
||||
}
|
||||
|
||||
exit_with_status:
|
||||
|
Reference in New Issue
Block a user