[dahdi-commits] tzafrir: linux/trunk r10452 - /linux/trunk/drivers/dahdi/xpp/card_fxo.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Jan 25 16:02:12 CST 2012
Author: tzafrir
Date: Wed Jan 25 16:02:08 2012
New Revision: 10452
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10452
Log:
xpp: FXO: improve ring debounce notice
* Less jargon.
* Fixes calculation: shows time passed rather than remaining time.
* Closes xorcom #1398.
Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/card_fxo.c
Modified: linux/trunk/drivers/dahdi/xpp/card_fxo.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_fxo.c?view=diff&rev=10452&r1=10451&r2=10452
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_fxo.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_fxo.c Wed Jan 25 16:02:08 2012
@@ -934,8 +934,9 @@
debounce = atomic_read(&priv->ring_debounce[i]);
if (debounce)
LINE_NOTICE(xpd, i,
- "debounced false ring (only %d ticks)\n",
- debounce);
+ "Ignored a false short ring "
+ "(lasted only %dms)\n",
+ ring_debounce - debounce);
/*
* Now set a new ring alarm.
* It will be checked in handle_fxo_ring()
More information about the dahdi-commits
mailing list