mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
hci: skip HCI Read Buffer Size if Classic not enabled
This commit is contained in:
parent
e29c33b5cf
commit
2ac123ee4e
@ -1758,11 +1758,13 @@ static void hci_initializing_event_handler(const uint8_t * packet, uint16_t size
|
||||
return;
|
||||
#endif
|
||||
case HCI_INIT_W4_READ_BD_ADDR:
|
||||
#ifdef ENABLE_CLASSIC
|
||||
// only read buffer size if supported
|
||||
if (hci_stack->local_supported_commands[0u] & 0x01u) {
|
||||
hci_stack->substate = HCI_INIT_READ_BUFFER_SIZE;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
// skipping read buffer size
|
||||
hci_stack->substate = HCI_INIT_READ_LOCAL_SUPPORTED_FEATURES;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user