diff --git a/drivers/bluetooth/hci/h4_ifx_cyw43xxx.c b/drivers/bluetooth/hci/h4_ifx_cyw43xxx.c index 8e57b7f47f8..ffdda83281b 100644 --- a/drivers/bluetooth/hci/h4_ifx_cyw43xxx.c +++ b/drivers/bluetooth/hci/h4_ifx_cyw43xxx.c @@ -189,6 +189,7 @@ static int bt_firmware_download(const uint8_t *firmware_image, uint32_t size) switch (op_code) { case BT_HCI_VND_OP_WRITE_RAM: + case BT_HCI_VND_OP_LAUNCH_RAM: /* Update remaining length and data pointer: * content of data length + 2 bytes of opcode and 1 byte of data length. */ @@ -196,10 +197,6 @@ static int bt_firmware_download(const uint8_t *firmware_image, uint32_t size) remaining_length -= data_length + 3; break; - case BT_HCI_VND_OP_LAUNCH_RAM: - remaining_length = 0; - break; - default: return -ENOMEM; }