diff options
-rw-r--r-- | wctdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1810,7 +1810,7 @@ static int wctdm_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long dat wc->mod[chan->chanpos - 1].fxs.idletxhookstate = 0x6; /* OHT mode when idle */ else wc->mod[chan->chanpos - 1].fxs.idletxhookstate = 0x2; - if (wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x1) { + if (wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x1 || wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x5) { /* Apply the change if appropriate */ if (reversepolarity) wc->mod[chan->chanpos - 1].fxs.lasttxhook = 0x6; |