serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / bfin_uart.c
index 869ceba2ec57b54f54a2d0a5693640e72e8125bf..ac86a20992e9fcb26394f2a1a1b190227c7a1d38 100644 (file)
@@ -833,7 +833,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
        port->read_status_mask = OE;
        if (termios->c_iflag & INPCK)
                port->read_status_mask |= (FE | PE);
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                port->read_status_mask |= BI;
 
        /*
This page took 0.023879 seconds and 5 git commands to generate.