1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-03-27 14:37:12 +00:00

hci: fix sco connection setup/accept for SCO over PCM

This commit is contained in:
Matthias Ringwald 2023-07-08 19:44:15 +02:00
parent 7f500823c0
commit bbdb580012

@ -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