From d8052050454fd6d0ab8430384cb7131715087266 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Wed, 30 Sep 2009 16:34:11 +0000 Subject: 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 --- drivers/dahdi/wctdm24xxp/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dahdi/wctdm24xxp') 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); } } -- cgit v1.2.3