mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
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:
parent
454459b02e
commit
28d1dfadd3
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue