serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / pxa.c
index 9e7ee39f8b2a6c1ac58fcadc75e4bca49e847b01..c638c53cd2b698422d82f4a797a2ecf1c5fa88a6 100644 (file)
@@ -492,7 +492,7 @@ serial_pxa_set_termios(struct uart_port *port, struct ktermios *termios,
        up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
        if (termios->c_iflag & INPCK)
                up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE;
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                up->port.read_status_mask |= UART_LSR_BI;
 
        /*
This page took 0.027843 seconds and 5 git commands to generate.