From 590d28250541c43750e08e398805eb1641c2fe12 Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 2 Apr 2004 07:04:29 +0000 Subject: Minor te410p fixes for timing git-svn-id: http://svn.digium.com/svn/zaptel/trunk@338 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wct4xxp.c b/wct4xxp.c index 5792e3a..43190a0 100755 --- a/wct4xxp.c +++ b/wct4xxp.c @@ -481,13 +481,14 @@ static int t4_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) span->lineconfig = lc->lineconfig; span->txlevel = lc->lbo; span->rxlevel = 0; + span->syncsrc = wc->syncsrc; if (lc->sync < 0) lc->sync = 0; if (lc->sync > 4) lc->sync = 0; /* remove this span number from the current sync sources, if there */ - for(i = 0; i < 3; i++) { + for(i = 0; i < 4; i++) { if (wc->syncs[i] == span->spanno) { wc->syncs[i] = 0; wc->psyncs[i] = 0; -- cgit v1.2.3