[dahdi-commits] sruffell: linux/trunk r8480 - /linux/trunk/drivers/dahdi/wcte12xp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Apr 6 14:05:31 CDT 2010
Author: sruffell
Date: Tue Apr 6 14:05:28 2010
New Revision: 8480
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8480
Log:
wcte12xp: Do not restart the timer on alarm poll if shutting down.
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=8480&r1=8479&r2=8480
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Tue Apr 6 14:05:28 2010
@@ -1956,7 +1956,8 @@
t1_do_counters(wc);
t1_check_alarms(wc);
t1_check_sigbits(wc);
- mod_timer(&wc->timer, jiffies + HZ/10);
+ if (test_bit(INITIALIZED, &wc->bit_flags))
+ mod_timer(&wc->timer, jiffies + HZ/10);
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
More information about the dahdi-commits
mailing list