aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/irda/smsc-ircc2.c
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel.ortiz@nokia.com>2006-04-14 16:02:07 -0700
committerDavid S. Miller <davem@davemloft.net>2006-04-14 16:02:07 -0700
commit269690ac164fc0a7c2de03e7e0d2f554104d1516 (patch)
tree52c3fa23e1f100df0acdf68f946a908e39ddedb9 /drivers/net/irda/smsc-ircc2.c
parent4909e488f65fc729fc0f8d42bd1600c56a8bd83c (diff)
[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 <samuel.ortiz@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/smsc-ircc2.c')
0 files changed, 0 insertions, 0 deletions