summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wctdm.c b/wctdm.c
index 42228ec..743867d 100644
--- a/wctdm.c
+++ b/wctdm.c
@@ -1083,7 +1083,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;