Commit 524e4ea8 authored by Marcel Holtmann's avatar Marcel Holtmann

[Bluetooth] Don't use ISOC transfers for sniffer devices

The sniffer devices present themself as a full H:2 device, but
actually they don't need any ISOC transfers and so don't start
them.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 1274fcd6
...@@ -888,7 +888,7 @@ static int hci_usb_probe(struct usb_interface *intf, const struct usb_device_id ...@@ -888,7 +888,7 @@ static int hci_usb_probe(struct usb_interface *intf, const struct usb_device_id
isoc_ifnum = 1; isoc_ifnum = 1;
#ifdef CONFIG_BT_HCIUSB_SCO #ifdef CONFIG_BT_HCIUSB_SCO
if (isoc && !(id->driver_info & HCI_BROKEN_ISOC)) if (isoc && !(id->driver_info & (HCI_BROKEN_ISOC | HCI_SNIFFER)))
isoc_iface = usb_ifnum_to_if(udev, isoc_ifnum); isoc_iface = usb_ifnum_to_if(udev, isoc_ifnum);
if (isoc_iface) { if (isoc_iface) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment