serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / m32r_sio.c
index 9cd9b4eba9fc0675f5ec39c7b3929c8950e68916..68f2c53e0b546d63650da9515b486aabaa34cade 100644 (file)
@@ -737,7 +737,7 @@ static void m32r_sio_set_termios(struct uart_port *port,
        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.028825 seconds and 5 git commands to generate.