summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-17 21:14:31 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-17 21:14:31 +0000
commit10875af5cff7c80ab08160351774a5d7eb5ca2dd (patch)
tree9c117dd421084ce770f1c469d2a918680d8e5bed /wctdm.c
parentc9f7297b684b0daba5d1a939ba13c98de97eff8f (diff)
Merged revisions 1069 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1069 | file | 2006-05-17 18:13:27 -0300 (Wed, 17 May 2006) | 2 lines Don't change the value of lasttxhook, instead do a comparison. (issue #7175 reported and fixed by Thomas Andrews) If this breaks things, you can yell at me. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1070 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rw-r--r--wctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wctdm.c b/wctdm.c
index b034fc2..0403e3a 100644
--- a/wctdm.c
+++ b/wctdm.c
@@ -1084,7 +1084,7 @@ static void wctdm_interrupt(int irq, void *dev_id, struct pt_regs *regs)
wc->mod[x].fxs.idletxhookstate = 0x5; /* Switch to active */
else
wc->mod[x].fxs.idletxhookstate = 0x1;
- if ((wc->mod[x].fxs.lasttxhook == 0x2) || (wc->mod[x].fxs.lasttxhook = 0x6)) {
+ if ((wc->mod[x].fxs.lasttxhook == 0x2) || (wc->mod[x].fxs.lasttxhook == 0x6)) {
/* Apply the change if appropriate */
if (reversepolarity)
wc->mod[x].fxs.lasttxhook = 0x5;