Skip to content

Commit 5eda8e7

Browse files
lylezhu2012aescolar
authored andcommitted
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 <[email protected]>
1 parent 7cf124b commit 5eda8e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bluetooth/hci/hci_nxp_setup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ static int fw_uploading(const uint8_t *fw, uint32_t fw_length)
993993
return err;
994994
}
995995
} else {
996-
LOG_ERR("Error occurs %d", fw_upload.error);
996+
LOG_DBG("Error occurs %d", fw_upload.error);
997997
fw_upload_send_ack(V3_TIMEOUT_ACK);
998998
if (fw_upload.error & BT_MIC_FAIL_BIT) {
999999
fw_upload.change_speed_buffer_len = 0;
@@ -1007,7 +1007,7 @@ static int fw_uploading(const uint8_t *fw, uint32_t fw_length)
10071007
LOG_DBG("FW download done");
10081008
return 0;
10091009
}
1010-
LOG_ERR("Error occurs %d", fw_upload.error);
1010+
LOG_DBG("Error occurs %d", fw_upload.error);
10111011
fw_upload_send_ack(V3_TIMEOUT_ACK);
10121012
if (fw_upload.error & BT_MIC_FAIL_BIT) {
10131013
fw_upload.change_speed_buffer_len = 0;

0 commit comments

Comments
 (0)