diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-07-05 14:18:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 16:57:51 -0700 |
commit | b3251d8045f87eec5d565603345d262cee134fa6 (patch) | |
tree | 14421766043e846d91585007eeaf5d06eb82dca0 /drivers/isdn | |
parent | 597e608a8492d662736c9bc6aa507dbf1cadc17d (diff) | |
download | kernel_samsung_espresso10-b3251d8045f87eec5d565603345d262cee134fa6.zip kernel_samsung_espresso10-b3251d8045f87eec5d565603345d262cee134fa6.tar.gz kernel_samsung_espresso10-b3251d8045f87eec5d565603345d262cee134fa6.tar.bz2 |
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')
-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 76dbb20..f65cf7d 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 |