summaryrefslogtreecommitdiff
path: root/xpp/card_fxo.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-04 23:01:03 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-04 23:01:03 +0000
commit0305962c454019c63b6d69634e8301b9f199627b (patch)
tree8cd8d0ccb8b0af5720452d44e19fe94b0cf26e62 /xpp/card_fxo.c
parent393ca276af8b3f2610ae82b1971fa0b5d2abb336 (diff)
Rename the bitmask xpd->hookstate into xpd->offhook (for readability).
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r--xpp/card_fxo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c
index 85b014f..25d3e95 100644
--- a/xpp/card_fxo.c
+++ b/xpp/card_fxo.c
@@ -259,9 +259,9 @@ static void do_sethook(xpd_t *xpd, int pos, bool offhook)
mark_ring(xpd, pos, 0); // No more rings
__do_sethook(xpd->xbus, xpd, pos, offhook);
if(offhook) {
- BIT_SET(xpd->hookstate, pos);
+ BIT_SET(xpd->offhook, pos);
} else {
- BIT_CLR(xpd->hookstate, pos);
+ BIT_CLR(xpd->offhook, pos);
xpd->delay_until_dialtone[pos] = 0;
}
spin_unlock_irqrestore(&xpd->lock, flags);