qcacmn: Add context to the logs
Logs without meaningful message or values serves no purpose in debugging. Hence, add more context to the logs. Change-Id: Ia463d239a9bf26f292a11bcc71cb1379374c45e4 CRs-Fixed: 3492593
This commit is contained in:

zatwierdzone przez
Rahul Choudhary

rodzic
4f720afb5e
commit
6eaf41462a
@@ -587,7 +587,8 @@ QDF_STATUS dp_umac_reset_interrupt_attach(struct dp_soc *soc)
|
||||
} else {
|
||||
if (umac_reset_ctx->intr_offset < 0 ||
|
||||
umac_reset_ctx->intr_offset >= WLAN_CFG_INT_NUM_CONTEXTS) {
|
||||
dp_umac_reset_err("Invalid interrupt offset");
|
||||
dp_umac_reset_err("Invalid interrupt offset: %d",
|
||||
umac_reset_ctx->intr_offset);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
@@ -880,7 +881,7 @@ QDF_STATUS dp_umac_reset_notify_action_completion(
|
||||
break;
|
||||
|
||||
default:
|
||||
dp_umac_reset_err("Invalid action");
|
||||
dp_umac_reset_err("Invalid action: %u", action);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user