summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dahdi/dahdi-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index f2a1482..31ed4af 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -4709,7 +4709,7 @@ static int ioctl_echocancel(struct dahdi_chan *chan, struct dahdi_echocanparams
/* got the reference, copy the pointer and use it for making
an echo canceler instance if possible */
- ec_current = chan->ec_current;
+ ec_current = chan->ec_factory;
if ((ret = ec_current->echo_can_create(ecp, params, &ec))) {
release_echocan(ec_current);