summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/f81232.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-14 15:32:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 13:06:09 -0700
commitc97ce276909b0434cd74f9e6c7da37bda59106bb (patch)
tree87162cd5ed3ffb000ec138d5ec1116a1b90bbc9b /drivers/usb/serial/f81232.c
parentadc8d746caa67fff4b53ba3e5163a6cbacc3b523 (diff)
f81232: correct stubbed termios handler
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/f81232.c')
-rw-r--r--drivers/usb/serial/f81232.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 42c604bc7ce4..79451ee12ca0 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -177,6 +177,7 @@ static void f81232_set_termios(struct tty_struct *tty,
return;
/* Do the real work here... */
+ tty_termios_copy_hw(&tty->termios, old_termios);
}
static int f81232_tiocmget(struct tty_struct *tty)