X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-lin.git/blobdiff_plain/8397ea7e746f8041ea769379adfd80cc6c325dde..9e7a6be1e8e430e8b420a2b7c712d716c4d90765:/sllin/sllin.c diff --git a/sllin/sllin.c b/sllin/sllin.c index 9737152..6b50223 100644 --- a/sllin/sllin.c +++ b/sllin/sllin.c @@ -295,8 +295,8 @@ static void sllin_write_wakeup(struct tty_struct *tty) struct sllin *sl = (struct sllin *) tty->disc_data; /* First make sure we're connected. */ - if (!sl || sl->magic != SLLIN_MAGIC || !netif_running(sl->dev)) - return; + //if (!sl || sl->magic != SLLIN_MAGIC || !netif_running(sl->dev)) + // return; if (sl->lin_state != SLSTATE_BREAK_SENT) remains = sl->tx_lim - sl->tx_cnt; @@ -438,8 +438,8 @@ static void sllin_receive_buf(struct tty_struct *tty, printk(KERN_INFO "sllin_receive_buf invoked\n"); - if (!sl || sl->magic != SLLIN_MAGIC || !netif_running(sl->dev)) - return; + //if (!sl || sl->magic != SLLIN_MAGIC || !netif_running(sl->dev)) + // return; /* Read the characters out of the buffer */ while (count--) {