|
@@ -430,16 +430,6 @@ static int irtty_open(struct tty_struct *tty)
|
|
|
|
|
|
/* Module stuff handled via irda_ldisc.owner - Jean II */
|
|
/* Module stuff handled via irda_ldisc.owner - Jean II */
|
|
|
|
|
|
- /* First make sure we're not already connected. */
|
|
|
|
- if (tty->disc_data != NULL) {
|
|
|
|
- priv = tty->disc_data;
|
|
|
|
- if (priv && priv->magic == IRTTY_MAGIC) {
|
|
|
|
- ret = -EEXIST;
|
|
|
|
- goto out;
|
|
|
|
- }
|
|
|
|
- tty->disc_data = NULL; /* ### */
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* stop the underlying driver */
|
|
/* stop the underlying driver */
|
|
irtty_stop_receiver(tty, TRUE);
|
|
irtty_stop_receiver(tty, TRUE);
|
|
if (tty->ops->stop)
|
|
if (tty->ops->stop)
|