X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Ftty%2Fserial%2Fsb1250-duart.c;h=771f361c47ea17850cf4b946d135795e100c0865;hb=7442cf9ac2de31b33311209476cd81398d3863cf;hp=a7cdec2962dd8cb117a028a39b644e378129aec3;hpb=33b9f582c5c1db515412cc7efff28f7d1779321f;p=deliverable%2Flinux.git diff --git a/drivers/tty/serial/sb1250-duart.c b/drivers/tty/serial/sb1250-duart.c index a7cdec2962dd..771f361c47ea 100644 --- a/drivers/tty/serial/sb1250-duart.c +++ b/drivers/tty/serial/sb1250-duart.c @@ -596,7 +596,7 @@ static void sbd_set_termios(struct uart_port *uport, struct ktermios *termios, if (termios->c_iflag & INPCK) uport->read_status_mask |= M_DUART_FRM_ERR | M_DUART_PARITY_ERR; - if (termios->c_iflag & (BRKINT | PARMRK)) + if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) uport->read_status_mask |= M_DUART_RCVD_BRK; uport->ignore_status_mask = 0;