[dahdi-commits] sruffell: branch linux/sruffell/staging r6508 - /linux/team/sruffell/staging/...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Apr 27 14:32:11 CDT 2009
Author: sruffell
Date: Mon Apr 27 14:32:08 2009
New Revision: 6508
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6508
Log:
echocan-squash: vpm150m *does* support parameters, so don't drop them
add some debugging messages for vpm150m being enabled/disabled
Modified:
linux/team/sruffell/staging/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/team/sruffell/staging/drivers/dahdi/wctdm24xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/team/sruffell/staging/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=6508&r1=6507&r2=6508
==============================================================================
--- linux/team/sruffell/staging/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/team/sruffell/staging/drivers/dahdi/wctdm24xxp/base.c Mon Apr 27 14:32:08 2009
@@ -1673,7 +1673,7 @@
features = &vpm100m_ec_features;
}
- if (ecp->param_count > 0) {
+ if (wc->vpm100 && (ecp->param_count > 0)) {
printk(KERN_WARNING "%s echo canceller does not support parameters; failing request\n", ops->name);
return -EINVAL;
}
@@ -1692,8 +1692,8 @@
channel >>= 2;
if (debug & DEBUG_ECHOCAN)
- printk(KERN_DEBUG "echocan: Unit is %d, Channel is %d length %d\n",
- unit, channel, ecp->tap_length);
+ printk(KERN_DEBUG "echocan: Unit is %d, Channel is %d length %d\n", unit, channel, ecp->tap_length);
+
wctdm_vpm_out(wc, unit, channel, 0x3e);
res = 0;
} else if (wc->vpmadt032) {
More information about the dahdi-commits
mailing list