]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/tty_port.c
tty: tty port zero baud open
[linux-2.6-omap-h63xx.git] / drivers / char / tty_port.c
index ff94182b381368b81543abdc4c2f0641d4e3c92d..0723664fe0ab5487d95be284b7c5a5c12139ddfb 100644 (file)
@@ -216,7 +216,8 @@ int tty_port_block_til_ready(struct tty_port *port,
 
        while (1) {
                /* Indicate we are open */
-               tty_port_raise_dtr_rts(port);
+               if (tty->termios->c_cflag & CBAUD)
+                       tty_port_raise_dtr_rts(port);
 
                set_current_state(TASK_INTERRUPTIBLE);
                /* Check for a hangup or uninitialised port. Return accordingly */