summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r--drivers/dahdi/wcte12xp/base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index af7324d..02019a8 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -2185,6 +2185,8 @@ static void __devexit te12xp_remove_one(struct pci_dev *pdev)
#endif
del_timer_sync(&wc->timer);
+ voicebus_release(&wc->vb);
+
#ifdef VPM_SUPPORT
if(vpm) {
wc->vpmadt032 = NULL;
@@ -2194,7 +2196,6 @@ static void __devexit te12xp_remove_one(struct pci_dev *pdev)
}
#endif
- voicebus_release(&wc->vb);
t1_release(wc);
}