From 80d7d61834db1fc04f6d4dce9fa7aa1685c5a3a8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 28 Aug 2017 15:35:30 +0200 Subject: [PATCH] hci: fix sending of le set event mask --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index a2a7ee60b..7dd6a9e8c 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1616,7 +1616,7 @@ static void hci_initializing_event_handler(uint8_t * packet, uint16_t size){ #ifdef ENABLE_LE_DATA_LENGTH_EXTENSION case HCI_INIT_W4_WRITE_LE_HOST_SUPPORTED: if ((hci_stack->local_supported_commands[0] & 0x30) == 0x30){ - hci_stack->substate = HCI_INIT_LE_READ_MAX_DATA_LENGTH; + hci_stack->substate = HCI_INIT_LE_SET_EVENT_MASK; return; } // explicit fall through to reduce repetitions