diff options
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-x | wct4xxp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |