mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
[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>
This commit is contained in:
parent
5bdb3efe9d
commit
12a4d265e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user