From 8f0eca6eb9fb77fba9943b48d09a43e30a01cb6e Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Wed, 24 Feb 2010 19:13:05 +0000 Subject: wctdm24xxp, wcte12xp: Abort attach if interface fails to come out of reset. If the reset bit never clears, then just assume we cannot talk to the board and error on the attach. DAHDI-515. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8080 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcte12xp/base.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/dahdi/wcte12xp') diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index dfba2dd..9f6352f 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -1846,7 +1846,6 @@ static int __devinit te12xp_init_one(struct pci_dev *pdev, const struct pci_devi wc->vb.debug = &debug; res = voicebus_init(&wc->vb, wc->name); if (res) { - WARN_ON(1); free_wc(wc); ifaces[index] = NULL; return res; -- cgit v1.2.3