summaryrefslogtreecommitdiff
path: root/xpp/card_fxo.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-30 23:30:24 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-30 23:30:24 +0000
commit174bb77a671276727a8af8c5fafa80ad3b36cf07 (patch)
tree48e841d1d5675005c5650d7945eb6825fa5b8bea /xpp/card_fxo.c
parent136fb94a50747be5d6b8639cfb378a6f70be8d44 (diff)
r2806@boole: oron | 2006-11-27 16:54:06 +0200
Fixed panic in ticket:147 merged code from changeset:2802 changeset:2804 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1671 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r--xpp/card_fxo.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c
index 0045a0e..d3e7637 100644
--- a/xpp/card_fxo.c
+++ b/xpp/card_fxo.c
@@ -572,11 +572,7 @@ HANDLER_DEF(FXO, SIG_CHANGED)
xbus->busname, xpd->xpdname, i);
continue;
}
- if(IS_SET(sig_status, i)) {
- mark_ring(xpd, i, 1);
- } else {
- mark_ring(xpd, i, 0);
- }
+ mark_ring(xpd, i, IS_SET(sig_status, i), 1);
}
}
spin_unlock_irqrestore(&xpd->lock, flags);