|
@@ -559,7 +559,7 @@ static void usa28_instat_callback(struct urb *urb)
|
|
|
|
|
|
if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
|
|
if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
|
|
tty = tty_port_tty_get(&port->port);
|
|
tty = tty_port_tty_get(&port->port);
|
|
- if (tty && !C_CLOCAL(tty))
|
|
|
|
|
|
+ if (tty && !C_CLOCAL(tty))
|
|
tty_hangup(tty);
|
|
tty_hangup(tty);
|
|
tty_kref_put(tty);
|
|
tty_kref_put(tty);
|
|
}
|
|
}
|