summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfangxiaozhi <huananhu@huawei.com>2009-11-17 13:02:24 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-17 13:02:24 +0100
commit208f2037ae4a2f23fe5f232d25f4030b3a35c3ed (patch)
tree2edd990f6b83cbb939719d0c812a6cde86584983
parentnet/can/mscan: improve build (diff)
downloadlinux-208f2037ae4a2f23fe5f232d25f4030b3a35c3ed.tar.xz
linux-208f2037ae4a2f23fe5f232d25f4030b3a35c3ed.zip
net: PPP buffer too small for higher speed connections
1. This patch is based on the kernel of 2.6.32-rc7 2. In this patch, we enlarge the out buffer size to optimize the upload speed for the ppp connection. Then it can support the upload of HSUPA data cards. Signed-off-by: fangxiaozhi <huananhu@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ppp_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c
index 30b1b3326765..c311fa6597f5 100644
--- a/drivers/net/ppp_async.c
+++ b/drivers/net/ppp_async.c
@@ -36,7 +36,7 @@
#define PPP_VERSION "2.4.2"
-#define OBUFSIZE 256
+#define OBUFSIZE 4096
/* Structure for storing local state. */
struct asyncppp {