From: Matthias Urlichs Date: Thu, 22 Sep 2005 07:49:33 +0000 (-0700) Subject: [PATCH] usb/serial/option.c: Increase input buffer size X-Git-Tag: v2.6.14-rc3~51^2~75 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b27c73dcab61826e5f1228d69d56f469b0abfc05;p=linux-2.6-omap-h63xx.git [PATCH] usb/serial/option.c: Increase input buffer size The card sometimes sends >2000 bytes in one single chunk. Ouch. Signed-Off-By: Matthias Urlichs Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds --- diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 616bea8df53..4989e5740d1 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -26,6 +26,8 @@ killed end-of-line whitespace 2005-07-15 v0.4.2 rename WLAN product to FUSION, add FUSION2 2005-09-10 v0.4.3 added HUAWEI E600 card and Audiovox AirCard + 2005-09-20 v0.4.4 increased recv buffer size: the card sometimes + wants to send >2000 bytes. Work sponsored by: Sigos GmbH, Germany @@ -139,7 +141,7 @@ static int debug; #define N_IN_URB 4 #define N_OUT_URB 1 -#define IN_BUFLEN 1024 +#define IN_BUFLEN 4096 #define OUT_BUFLEN 128 struct option_port_private {