Commit 02303d20 authored by Jiri Slaby's avatar Jiri Slaby Committed by David S. Miller

isdn: hisax: Fix lock imbalance.

Add omittted unlocks to 2 functions.
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Karsten Keil <Karsten-Keil@t-online.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c8ee5538
...@@ -594,6 +594,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg) ...@@ -594,6 +594,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg)
if (cs->debug & L1_DEB_WARN) if (cs->debug & L1_DEB_WARN)
debugl1(cs, "Amd7930: l1hw: l2l1 tx_skb exist this shouldn't happen"); debugl1(cs, "Amd7930: l1hw: l2l1 tx_skb exist this shouldn't happen");
skb_queue_tail(&cs->sq, skb); skb_queue_tail(&cs->sq, skb);
spin_unlock_irqrestore(&cs->lock, flags);
break; break;
} }
if (cs->debug & DEB_DLOG_HEX) if (cs->debug & DEB_DLOG_HEX)
......
...@@ -468,6 +468,7 @@ ICC_l1hw(struct PStack *st, int pr, void *arg) ...@@ -468,6 +468,7 @@ ICC_l1hw(struct PStack *st, int pr, void *arg)
if (cs->debug & L1_DEB_WARN) if (cs->debug & L1_DEB_WARN)
debugl1(cs, " l2l1 tx_skb exist this shouldn't happen"); debugl1(cs, " l2l1 tx_skb exist this shouldn't happen");
skb_queue_tail(&cs->sq, skb); skb_queue_tail(&cs->sq, skb);
spin_unlock_irqrestore(&cs->lock, flags);
break; break;
} }
if (cs->debug & DEB_DLOG_HEX) if (cs->debug & DEB_DLOG_HEX)
......
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