Skip to content

Commit

Permalink
USB: cdc-acm tell tty layer not to split things up.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Engraf authored and Greg Kroah-Hartman committed Apr 25, 2008
1 parent 454459b commit 28d1dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 28d1dfa

Please sign in to comment.