From: Rostislav Lisovy Date: Fri, 25 Nov 2011 16:02:32 +0000 (+0100) Subject: Sllin: Temporarily commented out some error checking for testing purposes. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-lin.git/commitdiff_plain/9e7a6be1e8e430e8b420a2b7c712d716c4d90765 Sllin: Temporarily commented out some error checking for testing purposes. --- 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--) {