hci: fix build with controller to host flow control

Regression from a086dc3
This commit is contained in:
Matthias Ringwald 2024-06-17 14:13:28 +02:00
parent d9d6144e6f
commit c69be560a9

View File

@ -7635,7 +7635,7 @@ static void hci_run(void){
#ifdef ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL
// send host num completed packets next as they don't require num_cmd_packets > 0
if (!hci_can_send_comand_packet_transport()) return;
if (!hci_can_send_command_packet_transport()) return;
if (hci_stack->host_completed_packets){
hci_host_num_completed_packets();
return;