summarylogtreecommitdiffstats
path: root/bluetooth.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bluetooth.patch')
-rw-r--r--bluetooth.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/bluetooth.patch b/bluetooth.patch
new file mode 100644
index 00000000000..90c21dca9b8
--- /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)