summaryrefslogtreecommitdiff
path: root/pciradio.c
diff options
context:
space:
mode:
Diffstat (limited to 'pciradio.c')
-rwxr-xr-xpciradio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pciradio.c b/pciradio.c
index a2ec582..58df840 100755
--- a/pciradio.c
+++ b/pciradio.c
@@ -890,12 +890,10 @@ static void pciradio_interrupt(int irq, void *dev_id, struct pt_regs *regs)
else
printk("Chan %d got rx\n",x + 1);
}
- rad->chans[x].rxhooksig = ZT_RXSIG_OFFHOOK;
- zt_qevent_lock(&rad->chans[x], ZT_EVENT_RINGOFFHOOK);
+ zt_hooksig(&rad->chans[x],ZT_RXSIG_OFFHOOK);
} else {
if (debug) printk("Chan %d lost rx\n",x + 1);
- rad->chans[x].rxhooksig = ZT_RXSIG_ONHOOK;
- zt_qevent_lock(&rad->chans[x], ZT_EVENT_ONHOOK);
+ zt_hooksig(&rad->chans[x],ZT_RXSIG_ONHOOK);
}
rad->encdec.req[x] = 1;
}