[PATCH 4/7] isdn/gigaset: adjust usb_gigaset tty write buffer limit
Tilman Schmidt <[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.devel,gmane.linux.network,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
The usb_gigaset driver's write buffer limit was different from those of the other hardware modules for no good reason. Set it to the same value as the others, derived from the Siemens documentation. Impact: cosmetic Signed-off-by: Tilman Schmidt <[email protected]> --- 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 -- 1.6.5.3.298.g39add