mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
hci: ignore gap classic tasks if classic is not supported
This commit is contained in:
parent
9a00f11b52
commit
2f3b3aff2f
@ -1817,7 +1817,7 @@ static void hci_initializing_run(void){
|
|||||||
hci_stack->substate = HCI_INIT_DONE;
|
hci_stack->substate = HCI_INIT_DONE;
|
||||||
#ifdef ENABLE_CLASSIC
|
#ifdef ENABLE_CLASSIC
|
||||||
// init sequence complete, check if GAP Tasks are completed
|
// init sequence complete, check if GAP Tasks are completed
|
||||||
if (hci_stack->gap_tasks != 0) {
|
if (hci_classic_supported() && (hci_stack->gap_tasks != 0)) {
|
||||||
hci_run_gap_tasks_classic();
|
hci_run_gap_tasks_classic();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user