commit | 269690ac164fc0a7c2de03e7e0d2f554104d1516 | [log] [tgz] |
---|---|---|
author | Samuel Ortiz <samuel.ortiz@nokia.com> | Fri Apr 14 16:02:07 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 14 16:02:07 2006 -0700 |
tree | 52c3fa23e1f100df0acdf68f946a908e39ddedb9 | |
parent | 4909e488f65fc729fc0f8d42bd1600c56a8bd83c [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>