From: Alan Cox Date: Thu, 18 Oct 2007 08:24:21 +0000 (-0700) Subject: USB: option: termios handling X-Git-Tag: v2.6.24-rc2~136^2~29 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e650d8ae0494bb937eea6c7fd1a60e57ba74cd53;p=linux-2.6-omap-h63xx.git USB: option: termios handling For the devices that have no hardware settings set up the termios return properly. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index b1c91818fe8..4590124cf88 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -313,7 +313,8 @@ static void option_set_termios(struct usb_serial_port *port, struct ktermios *old_termios) { dbg("%s", __FUNCTION__); - + /* Doesn't support option setting */ + tty_termios_copy_hw(port->tty->termios, old_termios); option_send_setup(port); }