aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-09-22 03:49:33 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-22 10:58:26 -0400
commitb27c73dcab61826e5f1228d69d56f469b0abfc05 (patch)
treeda3ef027dcbd3896556cbb1269116b2e1328002f /drivers
parenta85a46f2c38def5150251816890393803fdae7d0 (diff)
[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 <smurf@smurf.noris.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/serial/option.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 616bea8df539..4989e5740d18 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -26,6 +26,8 @@
26 killed end-of-line whitespace 26 killed end-of-line whitespace
27 2005-07-15 v0.4.2 rename WLAN product to FUSION, add FUSION2 27 2005-07-15 v0.4.2 rename WLAN product to FUSION, add FUSION2
28 2005-09-10 v0.4.3 added HUAWEI E600 card and Audiovox AirCard 28 2005-09-10 v0.4.3 added HUAWEI E600 card and Audiovox AirCard
29 2005-09-20 v0.4.4 increased recv buffer size: the card sometimes
30 wants to send >2000 bytes.
29 31
30 Work sponsored by: Sigos GmbH, Germany <info@sigos.de> 32 Work sponsored by: Sigos GmbH, Germany <info@sigos.de>
31 33
@@ -139,7 +141,7 @@ static int debug;
139 141
140#define N_IN_URB 4 142#define N_IN_URB 4
141#define N_OUT_URB 1 143#define N_OUT_URB 1
142#define IN_BUFLEN 1024 144#define IN_BUFLEN 4096
143#define OUT_BUFLEN 128 145#define OUT_BUFLEN 128
144 146
145struct option_port_private { 147struct option_port_private {