diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-07-21 15:39:35 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-07-21 15:39:35 +0000 |
commit | e62c934837b5e33806d2ce075ce7fb16929198ed (patch) | |
tree | 253974329823cb63711a1f21f86e6fb5847ce08f /drivers/dahdi | |
parent | 7db7b10a8f76543be1a290bb63b5856da81a4428 (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')
-rw-r--r-- | drivers/dahdi/wcfxo.c | 2 |
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; |