Driver: hci_nxp_setup: Change log message to LOG_DBG

Due to it is a normal firmware downloading sequence,
it should be a debug log instead of error log.

Change LOG_ERR to LOG_DBG for this case.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
This commit is contained in:
Lyle Zhu 2024-07-26 10:14:38 +08:00 committed by Alberto Escolar
commit 5eda8e7136

View file

@ -993,7 +993,7 @@ static int fw_uploading(const uint8_t *fw, uint32_t fw_length)
return err;
}
} else {
LOG_ERR("Error occurs %d", fw_upload.error);
LOG_DBG("Error occurs %d", fw_upload.error);
fw_upload_send_ack(V3_TIMEOUT_ACK);
if (fw_upload.error & BT_MIC_FAIL_BIT) {
fw_upload.change_speed_buffer_len = 0;
@ -1007,7 +1007,7 @@ static int fw_uploading(const uint8_t *fw, uint32_t fw_length)
LOG_DBG("FW download done");
return 0;
}
LOG_ERR("Error occurs %d", fw_upload.error);
LOG_DBG("Error occurs %d", fw_upload.error);
fw_upload_send_ack(V3_TIMEOUT_ACK);
if (fw_upload.error & BT_MIC_FAIL_BIT) {
fw_upload.change_speed_buffer_len = 0;