From: Dan Williams Date: Fri, 11 May 2007 03:08:54 +0000 (-0400) Subject: [PATCH] libertas: fix missing unlock in TX error path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12a4d265e5ca354fb9225732b7e625bd00002bc4;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] libertas: fix missing unlock in TX error path Signed-off-by: Dan Williams Signed-off-by: John W. Linville --- 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) 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;