summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r--drivers/dahdi/wcte12xp/base.c5
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);
}