Commit 12a4d265 authored by Dan Williams's avatar Dan Williams Committed by John W. Linville

[PATCH] libertas: fix missing unlock in TX error path

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5bdb3efe
...@@ -626,6 +626,7 @@ static void if_usb_receive(struct urb *urb) ...@@ -626,6 +626,7 @@ static void if_usb_receive(struct urb *urb)
cardp->usb_event_cause); cardp->usb_event_cause);
if (cardp->usb_event_cause & 0xffff0000) { if (cardp->usb_event_cause & 0xffff0000) {
libertas_send_tx_feedback(priv); libertas_send_tx_feedback(priv);
spin_unlock(&priv->adapter->driver_lock);
break; break;
} }
cardp->usb_event_cause = le32_to_cpu(cardp->usb_event_cause) << 3; cardp->usb_event_cause = le32_to_cpu(cardp->usb_event_cause) << 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment