[dahdi-commits] sruffell: linux/trunk r10251 - /linux/trunk/drivers/dahdi/wcb4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Oct 21 14:20:21 CDT 2011
Author: sruffell
Date: Fri Oct 21 14:20:17 2011
New Revision: 10251
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10251
Log:
wcb4xxp: Do not show LASVEGAS2 as echocan name if vpmsupport is set to 0
This fixes an issue where "EC: LASVEGAS2" was displayed in /proc/dahdi/x
for a B410P span even though vpmsupport was disabled with the module
parameter.
Internal-Issue-ID: DAHLIN-247
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=10251&r1=10250&r2=10251
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Fri Oct 21 14:20:17 2011
@@ -2205,7 +2205,7 @@
{
struct b4xxp_span *bspan = container_of(chan->span, struct b4xxp_span,
span);
- if (bspan->parent->card_type == B410P)
+ if (vpmsupport && (B410P == bspan->parent->card_type))
return "LASVEGAS2";
return NULL;
}
More information about the dahdi-commits
mailing list