From bbdb5800122b1f8659bf9ca65fafa3eae5b3ccc0 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 8 Jul 2023 19:44:15 +0200 Subject: [PATCH] hci: fix sco connection setup/accept for SCO over PCM --- src/hci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hci.c b/src/hci.c index dd6e399c8..122c2fcaf 100644 --- a/src/hci.c +++ b/src/hci.c @@ -7348,7 +7348,6 @@ uint8_t hci_send_cmd_packet(uint8_t *packet, int size){ (void) memcpy(hci_stack->outgoing_addr, addr, 6); break; -#if defined (ENABLE_SCO_OVER_HCI) || defined (HAVE_SCO_TRANSPORT) case HCI_OPCODE_HCI_SETUP_SYNCHRONOUS_CONNECTION: conn = hci_connection_for_handle(little_endian_read_16(packet, 3)); if (conn == NULL) { @@ -7408,7 +7407,6 @@ uint8_t hci_send_cmd_packet(uint8_t *packet, int size){ hci_stack->sco_voice_setting_active = little_endian_read_16(packet, 19); break; #endif -#endif #ifdef ENABLE_BLE #ifdef ENABLE_LE_CENTRAL