diff options
author | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-09-08 17:22:39 +0000 |
---|---|---|
committer | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-09-08 17:22:39 +0000 |
commit | 717db221bd12ce9eecd0dece6995bf888b462d6b (patch) | |
tree | 33263399bd3ab9d5948e6cfb264ae86e17302c19 /pciradio.c | |
parent | eacd4af0a4ff2a7163a07f428037044007c6ab7a (diff) |
Fixed signalling problem with pciradio card
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@758 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'pciradio.c')
-rwxr-xr-x | pciradio.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; } |