summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2006-12-14 18:39:23 -0200
committerAndres Salomon <dilinger@debian.org>2006-12-20 15:49:37 -0500
commitb569ecd022021de2acc4df0d5366e52e6dea0499 (patch)
treeb501400b2b503e004eb0f1413875f97f846ffb46
parenta1681373873d05e939d3239b0ddd2268a41ad801 (diff)
downloadlwn-b569ecd022021de2acc4df0d5366e52e6dea0499.tar.gz
lwn-b569ecd022021de2acc4df0d5366e52e6dea0499.zip
libertas: do not attempt to unregister driver from USB stack in FW load EH
There's a lost call to libertas_sbi_unregister() in the FW loading EH path. Remove it. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> (cherry picked from 9dd50eb55cd7155055fd14ffb9ea647518b63646 commit)
-rw-r--r--drivers/net/wireless/libertas/if_usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 6db4d691d1c8..4e32af319dd7 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -910,7 +910,6 @@ int libertas_sbi_prog_firmware(wlan_private * priv)
if (if_usb_submit_rx_urb_fwload(priv) < 0) {
dprintk(1, "URB submission is failed\n");
- libertas_sbi_unregister();
LEAVE();
return WLAN_STATUS_FAILURE;
}