summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcfxo.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-07-21 15:39:35 +0000
committerShaun Ruffell <sruffell@digium.com>2008-07-21 15:39:35 +0000
commite62c934837b5e33806d2ce075ce7fb16929198ed (patch)
tree253974329823cb63711a1f21f86e6fb5847ce08f /drivers/dahdi/wcfxo.c
parent7db7b10a8f76543be1a290bb63b5856da81a4428 (diff)
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
Diffstat (limited to 'drivers/dahdi/wcfxo.c')
-rw-r--r--drivers/dahdi/wcfxo.c2
1 files changed, 1 insertions, 1 deletions
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;