1
0
mirror of https://github.com/sjlongland/adv950.git synced 2025-09-13 10:43:14 +10:00

serial_core: Pass termios to set_ldisc function.

As per 732a84a037a4de29b54e0b4e6cb6f9b3813e29e5.
This commit is contained in:
Stuart Longland 2017-03-05 15:39:22 +10:00
parent 439f53e97c
commit 70013200a0
Signed by: stuartl
GPG Key ID: 4DFA191410BDE3B7

View File

@ -1171,7 +1171,7 @@ static void uart_set_ldisc(struct tty_struct *tty)
struct uart_port *uport = state->uart_port;
if (uport->ops->set_ldisc)
uport->ops->set_ldisc(uport, tty->termios.c_line);
uport->ops->set_ldisc(uport, &tty->termios);
}
static void uart_set_termios(struct tty_struct *tty,