mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
d7732885ed
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 27549
15 lines
350 B
Diff
15 lines
350 B
Diff
--- a/drivers/serial/lantiq.c
|
|
+++ b/drivers/serial/lantiq.c
|
|
@@ -478,8 +478,10 @@
|
|
spin_unlock_irqrestore(<q_asc_lock, flags);
|
|
|
|
/* Don't rewrite B0 */
|
|
- if (tty_termios_baud_rate(new))
|
|
+ if (tty_termios_baud_rate(new))
|
|
tty_termios_encode_baud_rate(new, baud, baud);
|
|
+
|
|
+ uart_update_timeout(port, cflag, baud);
|
|
}
|
|
|
|
static const char*
|