Browse Source

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

Alvin 6 days ago
parent
commit
9cbe4502e7
1 changed files with 1 additions and 2 deletions
  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;