aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-10-18 04:24:21 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-25 15:18:41 -0400
commite650d8ae0494bb937eea6c7fd1a60e57ba74cd53 (patch)
tree683552e42ba4af001607e2a8bdaf62bb14c8f6e1 /drivers/usb/serial/option.c
parenta6ebf80dbc186d4782d6b08cf3676e4f22a8a84b (diff)
USB: option: termios handling
For the devices that have no hardware settings set up the termios return properly. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r--drivers/usb/serial/option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index b1c91818fe83..4590124cf888 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,
313 struct ktermios *old_termios) 313 struct ktermios *old_termios)
314{ 314{
315 dbg("%s", __FUNCTION__); 315 dbg("%s", __FUNCTION__);
316 316 /* Doesn't support option setting */
317 tty_termios_copy_hw(port->tty->termios, old_termios);
317 option_send_setup(port); 318 option_send_setup(port);
318} 319}
319 320