ar71xx: update default network configuration file for the WNDR3700
[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 @@ int usb_serial_probe(struct usb_interfac
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.037803 seconds and 5 git commands to generate.