[svn-commits] sruffell: linux/trunk r7147 - /linux/trunk/drivers/dahdi/wct4xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Sep 16 13:19:05 CDT 2009
Author: sruffell
Date: Wed Sep 16 13:19:00 2009
New Revision: 7147
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7147
Log:
wct4xxp: Check the alarm state if we're debouncing a red alarm.
This fixes a problem where if you set the alarmdebounce module parameter on
gen2+ cards, you never detect when you go into red alarm.
Modified:
linux/trunk/drivers/dahdi/wct4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=7147&r1=7146&r2=7147
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Wed Sep 16 13:19:00 2009
@@ -2612,8 +2612,9 @@
int docheck=0;
spin_lock(&wc->reglock);
- if (ts->loopupcnt || ts->loopdowncnt)
+ if (ts->loopupcnt || ts->loopdowncnt || ts->alarmcount)
docheck++;
+
if (ts->alarmtimer) {
if (!--ts->alarmtimer) {
docheck++;
More information about the svn-commits
mailing list