[PATCH] libertas: fix missing unlock in TX error path
authorDan Williams <dcbw@redhat.com>
Fri, 11 May 2007 03:08:54 +0000 (23:08 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 May 2007 18:54:55 +0000 (14:54 -0400)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c

index 54853d8ac5e14c013e1f2a11fac88e48921554e6..f2d37d948498029493b39d4dcc591436c83c506d 100644 (file)
@@ -626,6 +626,7 @@ static void if_usb_receive(struct urb *urb)
                            cardp->usb_event_cause);
                if (cardp->usb_event_cause & 0xffff0000) {
                        libertas_send_tx_feedback(priv);
+                       spin_unlock(&priv->adapter->driver_lock);
                        break;
                }
                cardp->usb_event_cause = le32_to_cpu(cardp->usb_event_cause) << 3;