From a8041a58dec41e9786f30c8963b366836fe1ccef Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Thu, 7 Mar 2013 15:55:50 +0100 Subject: [PATCH] --- yaml --- r: 364241 b: refs/heads/master c: e584a02cf517537a3d13c7f85ced45fd07ab85cd h: refs/heads/master i: 364239: f7dde2fda1d33d5e8dc162fe9b6eb1396f0de566 v: v3 --- [refs] | 2 +- trunk/drivers/tty/tty_port.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 536d00a9c2c4..bd3e0a24f739 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 31ca020b57f7c08da187613cf20becd664c467fa +refs/heads/master: e584a02cf517537a3d13c7f85ced45fd07ab85cd diff --git a/trunk/drivers/tty/tty_port.c b/trunk/drivers/tty/tty_port.c index 73bc1d989d32..7e3eaf4eb9fe 100644 --- a/trunk/drivers/tty/tty_port.c +++ b/trunk/drivers/tty/tty_port.c @@ -388,7 +388,7 @@ int tty_port_block_til_ready(struct tty_port *port, while (1) { /* Indicate we are open */ - if (tty->termios.c_cflag & CBAUD) + if (C_BAUD(tty) && test_bit(ASYNCB_INITIALIZED, &port->flags)) tty_port_raise_dtr_rts(port); prepare_to_wait(&port->open_wait, &wait, TASK_INTERRUPTIBLE);