[svn-commits] rmeyerriecks: linux/trunk r8298 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Mar 8 20:38:30 CST 2010
Author: rmeyerriecks
Date: Mon Mar 8 20:38:27 2010
New Revision: 8298
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8298
Log:
dahdi-base: Minor bugfix for alarm state indication
Fixed a minor issue where stateless DAHDI_MAINT ioctl commands, such
as error insertion and clearing, were indicating the span going into
loopback alarm state when it really was not.
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=8298&r1=8297&r2=8298
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Mar 8 20:38:27 2010
@@ -4533,6 +4533,10 @@
case DAHDI_MAINT_BIPOLAR_DEFECT:
case DAHDI_MAINT_PRBS:
case DAHDI_RESET_COUNTERS:
+ /* Prevent notifying an alarm state for generic
+ maintenance functions */
+ spans[maint.spanno]->maintstat = 0;
+
rv = spans[maint.spanno]->maint(spans[maint.spanno],
maint.command);
spin_unlock_irqrestore(&spans[maint.spanno]->lock,
More information about the svn-commits
mailing list