diff options
author | David Engraf <david.engraf@netcom.eu> | 2008-03-20 10:53:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-24 21:16:44 -0700 |
commit | 28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91 (patch) | |
tree | 3044220216de21b2e779f02e6f2a6ff0aed94447 /drivers | |
parent | 454459b02ea9c8e850fd0b4e770037daf9a7b758 (diff) | |
download | kernel_samsung_smdk4412-28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91.zip kernel_samsung_smdk4412-28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91.tar.gz kernel_samsung_smdk4412-28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 0147ea3..1ded83b 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; |