summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-14 16:32:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 22:06:09 +0200
commitc97ce276909b0434cd74f9e6c7da37bda59106bb (patch)
tree87162cd5ed3ffb000ec138d5ec1116a1b90bbc9b /drivers/usb
parenttty: move the termios object into the tty (diff)
downloadlinux-c97ce276909b0434cd74f9e6c7da37bda59106bb.tar.xz
linux-c97ce276909b0434cd74f9e6c7da37bda59106bb.zip
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')
-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)