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 <david.engraf@netcom.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
454459b02e
commit
28d1dfadd3
@@ -489,6 +489,7 @@ static int acm_tty_open(struct tty_struct *tty, struct file *filp)
|
|||||||
else
|
else
|
||||||
rv = 0;
|
rv = 0;
|
||||||
|
|
||||||
|
set_bit(TTY_NO_WRITE_SPLIT, &tty->flags);
|
||||||
tty->driver_data = acm;
|
tty->driver_data = acm;
|
||||||
acm->tty = tty;
|
acm->tty = tty;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user