summaryrefslogtreecommitdiff
path: root/drivers/dahdi/voicebus/GpakCust.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/voicebus/GpakCust.c')
-rw-r--r--drivers/dahdi/voicebus/GpakCust.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.c b/drivers/dahdi/voicebus/GpakCust.c
index ccd880c..c1f3c94 100644
--- a/drivers/dahdi/voicebus/GpakCust.c
+++ b/drivers/dahdi/voicebus/GpakCust.c
@@ -338,6 +338,9 @@ void vpmadt032_echocan_free(struct vpmadt032 *vpm, struct dahdi_chan *chan,
{
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;
+ vpm->desiredecstate[channo].nlp_max_suppress = vpm->options.vpmnlpmaxsupp;
if (vpm->options.debug & DEBUG_ECHOCAN)
printk(KERN_DEBUG "echocan: Channel is %d length 0\n", channo);