|
@@ -231,9 +231,9 @@ void tty_port_hangup(struct tty_port *port)
|
|
}
|
|
}
|
|
port->tty = NULL;
|
|
port->tty = NULL;
|
|
spin_unlock_irqrestore(&port->lock, flags);
|
|
spin_unlock_irqrestore(&port->lock, flags);
|
|
|
|
+ tty_port_shutdown(port);
|
|
wake_up_interruptible(&port->open_wait);
|
|
wake_up_interruptible(&port->open_wait);
|
|
wake_up_interruptible(&port->delta_msr_wait);
|
|
wake_up_interruptible(&port->delta_msr_wait);
|
|
- tty_port_shutdown(port);
|
|
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(tty_port_hangup);
|
|
EXPORT_SYMBOL(tty_port_hangup);
|
|
|
|
|