hci: switch to main baud rate after EM_CpuReset for EM9304

This commit is contained in:
Matthias Ringwald 2018-01-16 20:31:45 +01:00
parent e021ff1e59
commit efd3b3273d

View File

@ -1545,7 +1545,9 @@ static void hci_initializing_event_handler(uint8_t * packet, uint16_t size){
#endif
case HCI_INIT_W4_READ_LOCAL_SUPPORTED_COMMANDS:
if (need_baud_change && hci_stack->manufacturer == BLUETOOTH_COMPANY_ID_BROADCOM_CORPORATION){
if (need_baud_change &&
((hci_stack->manufacturer == BLUETOOTH_COMPANY_ID_BROADCOM_CORPORATION) ||
(hci_stack->manufacturer == BLUETOOTH_COMPANY_ID_EM_MICROELECTRONIC_MARIN_SA))) {
hci_stack->substate = HCI_INIT_SEND_BAUD_CHANGE_BCM;
return;
}