tty: Use termios c_*flag macros
[deliverable/linux.git] / drivers / tty / tty_port.c
index a76aec2ca480aae5274fa9aba04c9ac565dfb3b7..0473fc7543f746817843859db11fcecc6b9debf7 100644 (file)
@@ -370,7 +370,7 @@ int tty_port_block_til_ready(struct tty_port *port,
        }
        if (filp->f_flags & O_NONBLOCK) {
                /* Indicate we are open */
-               if (tty->termios.c_cflag & CBAUD)
+               if (C_BAUD(tty))
                        tty_port_raise_dtr_rts(port);
                port->flags |= ASYNC_NORMAL_ACTIVE;
                return 0;
This page took 0.026844 seconds and 5 git commands to generate.