Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10527
b: refs/heads/master
c: 245dc3d
h: refs/heads/master
i:
  10525: fc09567
  10523: 324acdc
  10519: 7c612c7
  10511: a10d148
  10495: 8e06653
v: v3
  • Loading branch information
Marcel Holtmann committed Oct 28, 2005
1 parent a1dc21d commit f75589a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd7f5527b3e68a7b2f715ae1a21164383f418013
refs/heads/master: 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee
3 changes: 3 additions & 0 deletions trunk/drivers/bluetooth/bpa10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f75589a

Please sign in to comment.