diff options
author | Matthew Fredrickson <creslin@digium.com> | 2009-09-30 16:34:11 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2009-09-30 16:34:11 +0000 |
commit | d8052050454fd6d0ab8430384cb7131715087266 (patch) | |
tree | 84f2793c099af88f89303c01b042eab49ea9d4b4 /drivers/dahdi/voicebus/GpakCust.c | |
parent | 39ae2779179aafdf65240e27c62d967106ffb328 (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/voicebus/GpakCust.c')
-rw-r--r-- | drivers/dahdi/voicebus/GpakCust.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.c b/drivers/dahdi/voicebus/GpakCust.c index b3228df..ca85e5d 100644 --- a/drivers/dahdi/voicebus/GpakCust.c +++ b/drivers/dahdi/voicebus/GpakCust.c @@ -370,10 +370,9 @@ int vpmadt032_echocan_create(struct vpmadt032 *vpm, int channo, } EXPORT_SYMBOL(vpmadt032_echocan_create); -void vpmadt032_echocan_free(struct vpmadt032 *vpm, struct dahdi_chan *chan, +void vpmadt032_echocan_free(struct vpmadt032 *vpm, int channo, struct dahdi_echocan_state *ec) { - int channo = chan->chanpos - 1; adt_lec_init_defaults(&vpm->desiredecstate[channo], 0); vpm->desiredecstate[channo].nlp_type = vpm->options.vpmnlptype; vpm->desiredecstate[channo].nlp_threshold = vpm->options.vpmnlpthresh; |