diff options
author | Tilman Schmidt | 2010-07-05 16:18:37 +0200 |
---|---|---|
committer | David S. Miller | 2010-07-08 01:57:51 +0200 |
commit | b3251d8045f87eec5d565603345d262cee134fa6 (patch) | |
tree | 14421766043e846d91585007eeaf5d06eb82dca0 /drivers/isdn/gigaset/usb-gigaset.c | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
download | kernel-qcow2-linux-b3251d8045f87eec5d565603345d262cee134fa6.tar.gz kernel-qcow2-linux-b3251d8045f87eec5d565603345d262cee134fa6.tar.xz kernel-qcow2-linux-b3251d8045f87eec5d565603345d262cee134fa6.zip |
isdn/gigaset: adjust usb_gigaset tty write buffer limit
The usb_gigaset driver's write buffer limit was different from those
of the others for no good reason. Set it to the same value, derived
from the Siemens documentation.
Impact: cosmetic
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/usb-gigaset.c')
-rw-r--r-- | drivers/isdn/gigaset/usb-gigaset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/usb-gigaset.c index 76dbb20f3065..f65cf7db216b 100644 --- a/drivers/isdn/gigaset/usb-gigaset.c +++ b/drivers/isdn/gigaset/usb-gigaset.c @@ -39,7 +39,8 @@ MODULE_PARM_DESC(cidmode, "Call-ID mode"); #define GIGASET_MODULENAME "usb_gigaset" #define GIGASET_DEVNAME "ttyGU" -#define IF_WRITEBUF 2000 /* arbitrary limit */ +/* length limit according to Siemens 3070usb-protokoll.doc ch. 2.1 */ +#define IF_WRITEBUF 264 /* Values for the Gigaset M105 Data */ #define USB_M105_VENDOR_ID 0x0681 |