aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/tty_port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c
index ff94182b3813..0723664fe0ab 100644
--- a/drivers/char/tty_port.c
+++ b/drivers/char/tty_port.c
@@ -216,7 +216,8 @@ int tty_port_block_til_ready(struct tty_port *port,
216 216
217 while (1) { 217 while (1) {
218 /* Indicate we are open */ 218 /* Indicate we are open */
219 tty_port_raise_dtr_rts(port); 219 if (tty->termios->c_cflag & CBAUD)
220 tty_port_raise_dtr_rts(port);
220 221
221 set_current_state(TASK_INTERRUPTIBLE); 222 set_current_state(TASK_INTERRUPTIBLE);
222 /* Check for a hangup or uninitialised port. Return accordingly */ 223 /* Check for a hangup or uninitialised port. Return accordingly */