diff options
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r-- | xpp/card_fxo.c | 6 |
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); |