summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.c')
-rwxr-xr-xzaptel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zaptel.c b/zaptel.c
index 6ecca4d..9abe625 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -5084,7 +5084,7 @@ static inline void __rbs_otimer_expire(struct zt_chan *chan)
case ZT_TXSTATE_DEBOUNCE:
zt_rbs_sethook(chan, ZT_TXSIG_OFFHOOK, ZT_TXSTATE_OFFHOOK, 0);
/* See if we've gone back on hook */
- if (chan->rxhooksig == ZT_RXSIG_ONHOOK)
+ if ((chan->rxhooksig == ZT_RXSIG_ONHOOK) && (chan->rxflashtime > 2))
chan->itimerset = chan->itimer = chan->rxflashtime * 8;
wake_up_interruptible(&chan->txstateq);
break;