summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-02 07:04:29 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-02 07:04:29 +0000
commit590d28250541c43750e08e398805eb1641c2fe12 (patch)
tree29efebd3d13802a7f2f9e67c6a23c3e9d859970b /wct4xxp.c
parenta59b28483de3bba194fb849df889f1c640b9df76 (diff)
Minor te410p fixes for timing
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@338 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-xwct4xxp.c3
1 files changed, 2 insertions, 1 deletions
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;