From: David Engraf Date: Thu, 20 Mar 2008 09:53:52 +0000 (+0100) Subject: USB: cdc-acm tell tty layer not to split things up. X-Git-Tag: v2.6.26-rc1~1061^2~56 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91;p=linux-2.6-omap-h63xx.git USB: cdc-acm tell tty layer not to split things up. It ensures that the tty level do not split the send buffer into 2KB blocks. Signed-off-by: David Engraf Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 0147ea39340..1ded83b66af 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -489,6 +489,7 @@ static int acm_tty_open(struct tty_struct *tty, struct file *filp) else rv = 0; + set_bit(TTY_NO_WRITE_SPLIT, &tty->flags); tty->driver_data = acm; acm->tty = tty;