mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 00:11:22 +00:00
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>
This commit is contained in:
parent
a6ebf80dbc
commit
e650d8ae04
@ -313,7 +313,8 @@ static void option_set_termios(struct usb_serial_port *port,
|
|||||||
struct ktermios *old_termios)
|
struct ktermios *old_termios)
|
||||||
{
|
{
|
||||||
dbg("%s", __FUNCTION__);
|
dbg("%s", __FUNCTION__);
|
||||||
|
/* Doesn't support option setting */
|
||||||
|
tty_termios_copy_hw(port->tty->termios, old_termios);
|
||||||
option_send_setup(port);
|
option_send_setup(port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user