summaryrefslogtreecommitdiff
path: root/wct1xxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct1xxp.c')
-rw-r--r--wct1xxp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index 145893e..ce76ad9 100644
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -737,15 +737,13 @@ static int t1xxp_chanconfig(struct zt_chan *chan, int sigtype)
static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
{
struct t1xxp *wc = span->pvt;
- span->lineconfig = lc->lineconfig;
- span->lbo = lc->lbo;
- span->txlevel = lc->lbo;
- span->rxlevel = 0;
+
/* Do we want to SYNC on receive or not */
wc->sync = lc->sync;
/* If already running, apply changes immediately */
if (span->flags & ZT_FLAG_RUNNING)
return t1xxp_startup(span);
+
return 0;
}
static int t1xxp_software_init(struct t1xxp *wc)