summaryrefslogtreecommitdiff
path: root/wct4xxp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct4xxp/base.c')
-rw-r--r--wct4xxp/base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 55fe88e..ba25826 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2617,7 +2617,9 @@ static inline void t4_framer_interrupt(struct t4 *wc, int span)
t4_check_alarms(wc, span);
}
if (!ts->span.alarms) {
- ts->span.timingslips++;
+ if ((isr3 & 0x3) || (isr4 & 0xc0))
+ ts->span.timingslips++;
+
if (debug & DEBUG_MAIN) {
if (isr3 & 0x02)
printk("TE%d10P: RECEIVE slip NEGATIVE on span %d\n", wc->numspans, span + 1);