Revert "hci: skip HCI Read Buffer Size if Classic not enabled"

This reverts commit 2ac123ee4e.
This commit is contained in:
Matthias Ringwald 2020-09-23 14:13:52 +02:00
parent f5228c62df
commit 8b22887d86

View File

@ -1758,13 +1758,11 @@ 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;