serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / serial_ks8695.c
index e1caa99e3d3b50b20b8d4349577367f01f18ca38..5c79bdab985dc9fb5a1c5fb94f24e897b6286ae3 100644 (file)
@@ -437,7 +437,7 @@ static void ks8695uart_set_termios(struct uart_port *port, struct ktermios *term
        port->read_status_mask = URLS_URROE;
        if (termios->c_iflag & INPCK)
                port->read_status_mask |= (URLS_URFE | URLS_URPE);
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                port->read_status_mask |= URLS_URBI;
 
        /*
This page took 0.025742 seconds and 5 git commands to generate.