diff options
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-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)) { |