summaryrefslogtreecommitdiff
path: root/xpp/card_fxo.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 00:13:00 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 00:13:00 +0000
commit455489698f317bfdce9a32643e3e18169ac7beff (patch)
treee5b771f13e363163405e0e2d7795af3054d0729f /xpp/card_fxo.c
parentad8cf1689bae4add2ecf4c42f22d30942cc4e036 (diff)
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/branches/1.4@1677 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);