diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-01 05:32:00 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-01 05:32:00 +0000 |
commit | 0acc770c34318f27e2e58f3f99c733399b4d9c37 (patch) | |
tree | 14091b2533a370c2b07ebc3917602695ebdfacea /xpp | |
parent | 74fdbb746dfb60d13e3ae2a9451c8007102bd5d9 (diff) |
r1678@boole: tzafrir | 2006-12-01 02:13:47 +0200
r1671@boole: tzafrir | 2006-12-01 01:30:24 +0200
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/trunk@1684 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/card_fxo.c | 6 |
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); |