patch-2.3.24 linux/drivers/usb/usb-serial.c
Next file: linux/fs/Config.in
Previous file: linux/drivers/usb/uhci.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Oct 26 10:26:13 1999
- Orig file:
v2.3.23/linux/drivers/usb/usb-serial.c
- Orig date:
Fri Oct 15 15:25:14 1999
diff -u --recursive --new-file v2.3.23/linux/drivers/usb/usb-serial.c linux/drivers/usb/usb-serial.c
@@ -11,6 +11,9 @@
* vendor and device ids for that device.
*
*
+ * version 0.1.2 (10/25/99) gkh
+ * Fixed bug in detecting device.
+ *
* version 0.1.1 (10/05/99) gkh
* Changed the major number to not conflict with anything else.
*
@@ -528,7 +531,7 @@
serial->interrupt_in_interval = endpoint->bInterval;
/* serial->interrupt_in_pipe = usb_rcvbulkpipe (dev, serial->bulk_in_endpoint); */
serial->interrupt_in_buffer = kmalloc (serial->bulk_in_size, GFP_KERNEL);
- if (!serial->bulk_in_buffer) {
+ if (!serial->interrupt_in_buffer) {
printk("USB Serial: Couldn't allocate interrupt_in_buffer\n");
goto probe_error;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)