summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-25 22:02:08 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-25 22:02:08 +0000
commit7205376d088d91b6680964e05c6ab20dbbc554f5 (patch)
treeff91b14451ac8777b56260c0e721d0b9fe3d8c56
parent2ca24f82d863d4ba475079cc6cf5d2a78f5dc58d (diff)
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@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10452 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/xpp/card_fxo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c
index 9f711c6..9634829 100644
--- a/drivers/dahdi/xpp/card_fxo.c
+++ b/drivers/dahdi/xpp/card_fxo.c
@@ -934,8 +934,9 @@ HANDLER_DEF(FXO, SIG_CHANGED)
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()