diff options
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index 80365f3..c4856ca 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -1179,6 +1179,11 @@ static int echocan_create(struct dahdi_chan *chan, struct dahdi_echocanparams *e if (!wc->vpmadt032) { return -ENODEV; } + + *ec = wc->ec[chan->chanpos - 1]; + (*ec)->ops = &vpm150m_ec_ops; + (*ec)->features = vpm150m_ec_features; + return vpmadt032_echocan_create(wc->vpmadt032, chan->chanpos - 1, ecp, p); } |