Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338563
b: refs/heads/master
c: 1b95bee
h: refs/heads/master
i:
  338561: 76a2736
  338559: 4fada6b
v: v3
  • Loading branch information
Bjørn Mork authored and Greg Kroah-Hartman committed Oct 31, 2012
1 parent 92a644c commit bece33c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c73cee717e7d5da0698acb720ad1219646fe4f46
refs/heads/master: 1b95bee5630766448f40eecaa08b722f256335ea
9 changes: 2 additions & 7 deletions trunk/drivers/usb/serial/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,13 +1340,8 @@ static int option_probe(struct usb_serial *serial,
&serial->interface->cur_altsetting->desc;
struct usb_device_descriptor *dev_desc = &serial->dev->descriptor;

/*
* D-Link DWM 652 still exposes CD-Rom emulation interface in modem
* mode.
*/
if (dev_desc->idVendor == DLINK_VENDOR_ID &&
dev_desc->idProduct == DLINK_PRODUCT_DWM_652 &&
iface_desc->bInterfaceClass == 0x08)
/* Never bind to the CD-Rom emulation interface */
if (iface_desc->bInterfaceClass == 0x08)
return -ENODEV;

/* Bandrich modem and AT command interface is 0xff */
Expand Down

0 comments on commit bece33c

Please sign in to comment.