hci: exit main hci_run after running non-working substate

This commit is contained in:
Matthias Ringwald 2022-03-25 15:21:10 +01:00
parent 10a9d10518
commit ff87345bf8

View File

@ -6002,13 +6002,13 @@ static void hci_run(void){
switch (hci_stack->state) {
case HCI_STATE_INITIALIZING:
hci_initializing_run();
break;
return;
case HCI_STATE_HALTING:
hci_halting_run();
break;
return;
case HCI_STATE_FALLING_ASLEEP:
hci_falling_asleep_run();
break;
return;
default:
break;
}