浏览代码

f81232: correct stubbed termios handler

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Alan Cox 13 年之前
父节点
当前提交
c97ce27690
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/serial/f81232.c

+ 1 - 0
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)