summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 9f0a3f1..45a8d32 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -1414,11 +1414,7 @@ static int t4_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
printk("About to enter spanconfig!\n");
if (debug & DEBUG_MAIN)
printk("TE%dXXP: Configuring span %d\n", wc->numspans, span->spanno);
- /* XXX We assume lineconfig is okay and shouldn't XXX */
- span->lineconfig = lc->lineconfig;
- span->lbo = lc->lbo;
- span->txlevel = lc->lbo;
- span->rxlevel = 0;
+
if (lc->sync < 0)
lc->sync = 0;
if (lc->sync > 4)