From d59e028829fab21384fcd5f9d86199d679759971 Mon Sep 17 00:00:00 2001 From: hcg Date: Tue, 8 Jul 2008 12:13:02 +0000 Subject: Added in sub endpoint size patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11748 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../at91/patches-2.6.25/017-usb_serial_endpoint_size.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch (limited to 'target') diff --git a/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch b/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch new file mode 100644 index 000000000..e251ec952 --- /dev/null +++ b/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch @@ -0,0 +1,11 @@ +--- linux-2.6.25.10.old/drivers/usb/serial/usb-serial.c 2008-07-08 07:42:24.000000000 +0200 ++++ linux-2.6.25.10/drivers/usb/serial/usb-serial.c 2008-07-08 14:07:39.000000000 +0200 +@@ -905,7 +905,7 @@ + dev_err(&interface->dev, "No free urbs available\n"); + goto probe_error; + } +- buffer_size = (endpoint->wMaxPacketSize > maxSize) ? endpoint->wMaxPacketSize : maxSize; ++ buffer_size = 2048; + port->bulk_in_size = buffer_size; + port->bulk_in_endpointAddress = endpoint->bEndpointAddress; + port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); -- cgit v1.2.3