diff options
Diffstat (limited to 'bluetooth.patch')
-rw-r--r-- | bluetooth.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bluetooth.patch b/bluetooth.patch new file mode 100644 index 000000000000..90c21dca9b82 --- /dev/null +++ b/bluetooth.patch @@ -0,0 +1,22 @@ +diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c +index b4cf8d9..4520a03 100644 +--- a/drivers/bluetooth/btusb.c ++++ b/drivers/bluetooth/btusb.c +@@ -2657,7 +2657,7 @@ static int btusb_probe(struct usb_interface *intf, + BT_DBG("intf %p id %p", intf, id); + + /* interface numbers are hardcoded in the spec */ +- if (intf->cur_altsetting->desc.bInterfaceNumber != 0) ++ if (intf->cur_altsetting->desc.bInterfaceNumber != 2) + return -ENODEV; + + if (!id->driver_info) { +@@ -2827,7 +2827,7 @@ static int btusb_probe(struct usb_interface *intf, + data->isoc = NULL; + } else { + /* Interface numbers are hardcoded in the specification */ +- data->isoc = usb_ifnum_to_if(data->udev, 1); ++ data->isoc = usb_ifnum_to_if(data->udev, 3); + } + + if (!reset) |