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
This commit is contained in:
Tzafrir Cohen 2011-01-31 20:16:33 +00:00
parent e7d9a67f72
commit a5ace09e60

View File

@ -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)) {