]> rtime.felk.cvut.cz Git - linux-lin.git/commitdiff
Sllin: Temporarily commented out some error checking for testing purposes.
authorRostislav Lisovy <lisovy@gmail.com>
Fri, 25 Nov 2011 16:02:32 +0000 (17:02 +0100)
committerRostislav Lisovy <lisovy@gmail.com>
Fri, 25 Nov 2011 16:02:32 +0000 (17:02 +0100)
sllin/sllin.c

index 97371523045bbad99024dbb83ac5eed01ceecf05..6b502231822cd28e6ede9d34c6ae14dba43244b0 100644 (file)
@@ -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--) {