From e62c934837b5e33806d2ce075ce7fb16929198ed Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 21 Jul 2008 15:39:35 +0000 Subject: Fixed typo where chan is cleared out accidentally. (Related to issue #0013112) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4618 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcfxo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dahdi/wcfxo.c') diff --git a/drivers/dahdi/wcfxo.c b/drivers/dahdi/wcfxo.c index f9ba45d..82e96c0 100644 --- a/drivers/dahdi/wcfxo.c +++ b/drivers/dahdi/wcfxo.c @@ -903,8 +903,8 @@ static int __devinit wcfxo_init_one(struct pci_dev *pdev, const struct pci_devic } ifaces[x] = wc; - wc->chan = &wc->_chan; memset(wc, 0, sizeof(struct wcfxo)); + wc->chan = &wc->_chan; wc->ioaddr = pci_resource_start(pdev, 0); wc->dev = pdev; wc->pos = x; -- cgit v1.2.3