summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/netx-serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/netx-serial.c')
-rw-r--r--drivers/tty/serial/netx-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/netx-serial.c b/drivers/tty/serial/netx-serial.c
index 0a4dd70..7a67456 100644
--- a/drivers/tty/serial/netx-serial.c
+++ b/drivers/tty/serial/netx-serial.c
@@ -419,7 +419,7 @@ netx_set_termios(struct uart_port *port, struct ktermios *termios,
}
port->read_status_mask = 0;
- if (termios->c_iflag & (BRKINT | PARMRK))
+ if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
port->read_status_mask |= SR_BE;
if (termios->c_iflag & INPCK)
port->read_status_mask |= SR_PE | SR_FE;
OpenPOWER on IntegriCloud