diff --git a/wireless/bluetooth/bt_hcicore.c b/wireless/bluetooth/bt_hcicore.c index 7e952be3990..7b79d69ef6c 100644 --- a/wireless/bluetooth/bt_hcicore.c +++ b/wireless/bluetooth/bt_hcicore.c @@ -206,7 +206,7 @@ static void hci_cmd_done(uint16_t opcode, uint8_t status, { FAR struct bt_buf_s *sent = g_btdev.sent_cmd; - if (!sent) + if (sent == NULL) { return; } diff --git a/wireless/bluetooth/bt_queue.h b/wireless/bluetooth/bt_queue.h index 492e68e7799..76a9b76a494 100644 --- a/wireless/bluetooth/bt_queue.h +++ b/wireless/bluetooth/bt_queue.h @@ -55,7 +55,7 @@ #define BT_CONN_TX "btconntx" #define BT_HCI_TX "bthcitx" -#define BT_HCI_RX "bthcitx" +#define BT_HCI_RX "bthcirx" /* All messages are sent FIFO at the mid-message priorities except for high- * priority messages received from the Bluetooth driver.