summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2009-09-30 16:34:11 +0000
committerMatthew Fredrickson <creslin@digium.com>2009-09-30 16:34:11 +0000
commitd8052050454fd6d0ab8430384cb7131715087266 (patch)
tree84f2793c099af88f89303c01b042eab49ea9d4b4 /drivers/dahdi/wctdm24xxp
parent39ae2779179aafdf65240e27c62d967106ffb328 (diff)
Update echocan API so it only uses channel offset in free routine
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7284 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 51a2c65..e3053d2 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -1738,7 +1738,7 @@ static void echocan_free(struct dahdi_chan *chan, struct dahdi_echocan_state *ec
unit, channel);
wctdm_vpm_out(wc, unit, channel, 0x01);
} else if (wc->vpmadt032) {
- vpmadt032_echocan_free(wc->vpmadt032, chan, ec);
+ vpmadt032_echocan_free(wc->vpmadt032, chan->chanpos - 1, ec);
}
}