port generic and ixp4xx kernel patches to 2.6.27 (compiles except for iptables, but...
[openwrt.git] / target / linux / at91 / patches-2.6.25 / 017-usb_serial_endpoint_size.patch
1 --- a/drivers/usb/serial/usb-serial.c
2 +++ b/drivers/usb/serial/usb-serial.c
3 @@ -904,7 +904,7 @@
4 dev_err(&interface->dev, "No free urbs available\n");
5 goto probe_error;
6 }
7 - buffer_size = (endpoint->wMaxPacketSize > maxSize) ? endpoint->wMaxPacketSize : maxSize;
8 + buffer_size = 2048;
9 port->bulk_in_size = buffer_size;
10 port->bulk_in_endpointAddress = endpoint->bEndpointAddress;
11 port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL);
This page took 0.040768 seconds and 5 git commands to generate.