summaryrefslogtreecommitdiff
path: root/xpp/card_fxo.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:31:36 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:31:36 +0000
commit74fdbb746dfb60d13e3ae2a9451c8007102bd5d9 (patch)
treedc94ae0c84fdd4b8a58ea37df897614559ca3f8e /xpp/card_fxo.c
parenta2e05541b879e26431191518851392c2b4e016d3 (diff)
r1677@boole: tzafrir | 2006-12-01 02:13:00 +0200
r1670@boole: tzafrir | 2006-12-01 01:29:57 +0200 r2794@boole: oron | 2006-11-26 14:24:15 +0200 Remove all SOFT_RING code (unused for a long time). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1683 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r--xpp/card_fxo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c
index d3e7637..0045a0e 100644
--- a/xpp/card_fxo.c
+++ b/xpp/card_fxo.c
@@ -572,7 +572,11 @@ HANDLER_DEF(FXO, SIG_CHANGED)
xbus->busname, xpd->xpdname, i);
continue;
}
- mark_ring(xpd, i, IS_SET(sig_status, i), 1);
+ if(IS_SET(sig_status, i)) {
+ mark_ring(xpd, i, 1);
+ } else {
+ mark_ring(xpd, i, 0);
+ }
}
}
spin_unlock_irqrestore(&xpd->lock, flags);