|
@@ -3308,7 +3308,7 @@ static int block_til_ready(struct tty_struct *tty, struct file * filp,
|
|
port->blocked_open++;
|
|
port->blocked_open++;
|
|
|
|
|
|
while (1) {
|
|
while (1) {
|
|
- if (tty->termios.c_cflag & CBAUD)
|
|
|
|
|
|
+ if (C_BAUD(tty) && test_bit(ASYNCB_INITIALIZED, &port->flags))
|
|
tty_port_raise_dtr_rts(port);
|
|
tty_port_raise_dtr_rts(port);
|
|
|
|
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
set_current_state(TASK_INTERRUPTIBLE);
|