[svn-commits] dbailey: linux/trunk r6562 - /linux/trunk/drivers/dahdi/voicebus/GpakCust.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 4 15:36:40 CDT 2009


Author: dbailey
Date: Mon May  4 15:36:36 2009
New Revision: 6562

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6562
Log:
Insure that vpmnlptype, vpmnlpmaxsupp, and vpmnlpthresh are set back to module
level defaults when echo can is freed. (Previously they were zero'd out) 

DAHDI-257


Modified:
    linux/trunk/drivers/dahdi/voicebus/GpakCust.c

Modified: linux/trunk/drivers/dahdi/voicebus/GpakCust.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/voicebus/GpakCust.c?view=diff&rev=6562&r1=6561&r2=6562
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/GpakCust.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/GpakCust.c Mon May  4 15:36:36 2009
@@ -338,6 +338,9 @@
 {
 	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);




More information about the svn-commits mailing list