serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / ip22zilog.c
index 1d9420548e169a312e2f6ecacb44948e560c0869..1efd4c36ba0cace6da8d30623100f50103dce37f 100644 (file)
@@ -850,7 +850,7 @@ ip22zilog_convert_to_zs(struct uart_ip22zilog_port *up, unsigned int cflag,
        up->port.read_status_mask = Rx_OVR;
        if (iflag & INPCK)
                up->port.read_status_mask |= CRC_ERR | PAR_ERR;
-       if (iflag & (BRKINT | PARMRK))
+       if (iflag & (IGNBRK | BRKINT | PARMRK))
                up->port.read_status_mask |= BRK_ABRT;
 
        up->port.ignore_status_mask = 0;
This page took 0.029174 seconds and 5 git commands to generate.