Commit 28d1dfad authored by David Engraf's avatar David Engraf Committed by Greg Kroah-Hartman

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: default avatarDavid Engraf <david.engraf@netcom.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 454459b0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment