From f064e0bb1b0f1083396663b79de71cf526cb160e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 3 Oct 2016 12:15:26 +0200 Subject: [PATCH] hci: fix LE skipping if SCO over HCI is used --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index 8655ea581..b95ad7cee 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1355,7 +1355,7 @@ static void hci_initializing_event_handler(uint8_t * packet, uint16_t size){ case HCI_INIT_W4_WRITE_SCAN_ENABLE: case HCI_INIT_W4_WRITE_SYNCHRONOUS_FLOW_CONTROL_ENABLE: break; - case HCI_INIT_WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING: + case HCI_INIT_W4_WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING: if (!hci_le_supported()){ // SKIP LE init for Classic only configuration hci_init_done();