summarylogtreecommitdiffstats
path: root/bluetooth.patch
diff options
context:
space:
mode:
authorJustin Dray2015-09-29 22:47:31 +0200
committerJustin Dray2015-09-29 22:49:20 +0200
commitb8d0767f86a9dfe3bea682dd3904ad3506ce126c (patch)
tree9ffb3dc0069eaab3c857663ecbf59144849d9d38 /bluetooth.patch
downloadaur-b8d0767f86a9dfe3bea682dd3904ad3506ce126c.tar.gz
Initial commit
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 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)