patch-2.3.11 linux/drivers/usb/acm.c
Next file: linux/drivers/usb/audio.c
Previous file: linux/drivers/usb/Makefile
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Jul 19 11:17:32 1999
- Orig file:
v2.3.10/linux/drivers/usb/acm.c
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.10/linux/drivers/usb/acm.c linux/drivers/usb/acm.c
@@ -231,7 +231,10 @@
continue;
printk("USB ACM found\n");
- usb_set_configuration(dev, dev->config[cfgnum].bConfigurationValue);
+ if (usb_set_configuration(dev, dev->config[cfgnum].bConfigurationValue)) {
+ printk (KERN_INFO " Failed usb_set_configuration: ACM\n");
+ continue;
+ }
acm->dev=dev;
acm->readendp=dev->config[cfgnum].altsetting[0].interface[1].endpoint[0].bEndpointAddress;
acm->writeendp=dev->config[cfgnum].altsetting[0].interface[1].endpoint[1].bEndpointAddress;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)