Re: [PATCH] IrDA: irda-usb, unregister netdev when patch upload fails

2006-04-14 Thread David S. Miller
From: Samuel Ortiz <[EMAIL PROTECTED]> Date: Fri, 14 Apr 2006 13:16:07 +0300 > Hi David, > > In the STIR421x case, when the firmware upload fails, we need to > unregister_netdev. Otherwise we hit a BUG on free_netdev(), if sysfs is > enabled. > > Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]

[PATCH] IrDA: irda-usb, unregister netdev when patch upload fails

2006-04-14 Thread Samuel Ortiz
Hi David, In the STIR421x case, when the firmware upload fails, we need to unregister_netdev. Otherwise we hit a BUG on free_netdev(), if sysfs is enabled. Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]> diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index 606243d..96bd