Greg,
I think it got lost due to bad header. If you got it then excuse me,
let me know if there is any problem.
This patch fixes an inconsistent null checking, founded on aircable module.
Thanks,
Manuel

Signed-off-by: Naranjo Manuel <[EMAIL PROTECTED]>

----

--- linux2/drivers/usb/serial/aircable.c.orig   2006-11-15
15:03:40.000000000 -0300
+++ linux2/drivers/usb/serial/aircable.c        2006-11-12
21:59:05.000000000 -0300
@@ -270,8 +270,11 @@ static void aircable_read(void *params)
         */
        tty = port->tty;

-       if (!tty)
+       if (!tty){
                schedule_work(&priv->rx_work);
+               err("%s - No tty available", __FUNCTION__);
+               return ;
+       }

        count = min(64, serial_buf_data_avail(priv->rx_buf));




-- 
Naranjo, Manuel Francisco
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to