From 9e7a6be1e8e430e8b420a2b7c712d716c4d90765 Mon Sep 17 00:00:00 2001 From: Rostislav Lisovy Date: Fri, 25 Nov 2011 17:02:32 +0100 Subject: [PATCH] Sllin: Temporarily commented out some error checking for testing purposes. --- sllin/sllin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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--) { -- 2.39.2