From: Samuel Ortiz Date: Fri, 14 Apr 2006 23:02:07 +0000 (-0700) Subject: [IRDA]: irda-usb, unregister netdev when patch upload fails X-Git-Tag: v2.6.17-rc2~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=269690ac164fc0a7c2de03e7e0d2f554104d1516;p=pandora-kernel.git [IRDA]: irda-usb, unregister netdev when patch upload fails 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed