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