serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / sunzilog.c
index a2c40ed287d21b7a7ff545626bba5b0711211149..a85db8b8715639d01193c3ce394de1a058783314 100644 (file)
@@ -915,7 +915,7 @@ sunzilog_convert_to_zs(struct uart_sunzilog_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.025814 seconds and 5 git commands to generate.