[svn-commits] sruffell: linux/trunk r7549 - /linux/trunk/drivers/dahdi/wcte12xp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 10 09:46:24 CST 2009
Author: sruffell
Date: Tue Nov 10 09:46:18 2009
New Revision: 7549
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7549
Log:
wcte12xp: Export features and operations for VPMADT032.
Fixes a regression in dahdi-linux 2.2.0 where it was impossible for userspace to
reset the state of a channel in the VPM.
(issue #15724)
Patches:
mantis-15724-2.patch uploaded by sruffell (license 456)
Tested by: alecdavis
Modified:
linux/trunk/drivers/dahdi/wcte12xp/base.c
Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=7549&r1=7548&r2=7549
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Tue Nov 10 09:46:18 2009
@@ -1158,6 +1158,11 @@
if (!wc->vpmadt032) {
return -ENODEV;
}
+
+ *ec = wc->ec[chan->chanpos - 1];
+ (*ec)->ops = &vpm150m_ec_ops;
+ (*ec)->features = vpm150m_ec_features;
+
return vpmadt032_echocan_create(wc->vpmadt032, chan->chanpos - 1,
ecp, p);
}
More information about the svn-commits
mailing list