serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / max310x.c
index 2a99d0c61b9e6699de55161c334f07bb469654e2..ba285cd45b59f50c3ca4716895a784e0f30e4a12 100644 (file)
@@ -835,7 +835,7 @@ static void max310x_set_termios(struct uart_port *port,
        if (termios->c_iflag & INPCK)
                port->read_status_mask |= MAX310X_LSR_RXPAR_BIT |
                                          MAX310X_LSR_FRERR_BIT;
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                port->read_status_mask |= MAX310X_LSR_RXBRK_BIT;
 
        /* Set status ignore mask */
This page took 0.023939 seconds and 5 git commands to generate.