412490ffa1ebf103e2a7ec643d197f3e39ef8273
[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 @@ -905,7 +905,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.038714 seconds and 3 git commands to generate.