Skip to content
Snippets Groups Projects
Commit 245dc3d1 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

[Bluetooth] Ignore additional interfaces of BPA 100/105 devices


If a BPA 100/105 device contains more then one interface then ignore the
additional interfaces, because they are unused.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent dd7f5527
No related branches found
No related tags found
No related merge requests found
......@@ -550,6 +550,9 @@ static int bpa10x_probe(struct usb_interface *intf, const struct usb_device_id *
if (ignore)
return -ENODEV;
if (intf->cur_altsetting->desc.bInterfaceNumber > 0)
return -ENODEV;
data = kmalloc(sizeof(*data), GFP_KERNEL);
if (!data) {
BT_ERR("Can't allocate data structure");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment