Explorar o código

fix(bluetooth): Correct HCI packet type from SCO to ISO in USB host.

Alvin hai 1 semana
pai
achega
9cbe4502e7
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      third_party/zephyr_bluetooth-2.7.5/ble_hci_usbh.c

+ 1 - 2
third_party/zephyr_bluetooth-2.7.5/ble_hci_usbh.c

@@ -217,10 +217,9 @@ static int usbh_hci_host_rcv_pkt(uint8_t *data, uint32_t len)
             buf = usbh_bt_acl_recv(data, remaining);
             break;
 
-        case USB_BLUETOOTH_HCI_SCO:
+        case USB_BLUETOOTH_HCI_ISO:
             buf = usbh_bt_iso_recv(data, remaining);
             break;
-
         default:
             USB_LOG_ERR("Unknown HCI type %u\r\n", pkt_indicator);
             return -1;