diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-10 23:08:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-05-11 14:54:55 -0400 |
commit | 12a4d265e5ca354fb9225732b7e625bd00002bc4 (patch) | |
tree | fbf49237f465012badc295e5eccc91ed190307eb /drivers | |
parent | 5bdb3efe9dc117afeb043b54034249d24fdf80d6 (diff) |
[PATCH] libertas: fix missing unlock in TX error path
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 54853d8ac5e1..f2d37d948498 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -626,6 +626,7 @@ static void if_usb_receive(struct urb *urb) | |||
626 | cardp->usb_event_cause); | 626 | cardp->usb_event_cause); |
627 | if (cardp->usb_event_cause & 0xffff0000) { | 627 | if (cardp->usb_event_cause & 0xffff0000) { |
628 | libertas_send_tx_feedback(priv); | 628 | libertas_send_tx_feedback(priv); |
629 | spin_unlock(&priv->adapter->driver_lock); | ||
629 | break; | 630 | break; |
630 | } | 631 | } |
631 | cardp->usb_event_cause = le32_to_cpu(cardp->usb_event_cause) << 3; | 632 | cardp->usb_event_cause = le32_to_cpu(cardp->usb_event_cause) << 3; |