diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-01-31 20:16:33 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-01-31 20:16:33 +0000 |
commit | 4e314aee570302d2eda2461e39e8e60e4a921f39 (patch) | |
tree | 36ed4a2277c41a7f5f4ae93d39cb64f8e7cfa558 | |
parent | b37d14966739e43fcd0a872658726de28f2089ea (diff) |
xpp: Missing lock release in xpp_dahdi_unregister
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9727 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index cc4edef..5a27f45 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -1065,6 +1065,7 @@ int dahdi_unregister_xpd(xpd_t *xpd) if (!IS_PHONEDEV(xpd)) { XPD_ERR(xpd, "Not a telephony device\n"); + spin_unlock_irqrestore(&xpd->lock, flags); return -EBADF; } if(!SPAN_REGISTERED(xpd)) { |