serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / pmac_zilog.c
index e9d420ff39310741212eb77e194c13fca2662b18..8193635103eeefaf4f62cfd14eb3a4ab1be48fad 100644 (file)
@@ -1092,7 +1092,7 @@ static void pmz_convert_to_zs(struct uart_pmac_port *uap, unsigned int cflag,
        uap->port.read_status_mask = Rx_OVR;
        if (iflag & INPCK)
                uap->port.read_status_mask |= CRC_ERR | PAR_ERR;
-       if (iflag & (BRKINT | PARMRK))
+       if (iflag & (IGNBRK | BRKINT | PARMRK))
                uap->port.read_status_mask |= BRK_ABRT;
 
        uap->port.ignore_status_mask = 0;
This page took 0.025376 seconds and 5 git commands to generate.