blob: 90c21dca9b8286926f9ef9b913ffb492a07a8632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)
|