diff options
Diffstat (limited to 'tor2.c')
-rw-r--r-- | tor2.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -202,11 +202,7 @@ static int tor2_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) if (debug) printk("Tor2: Configuring span %d\n", 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; + span->syncsrc = p->tor->syncsrc; /* remove this span number from the current sync sources, if there */ @@ -225,6 +221,7 @@ static int tor2_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) /* If we're already running, then go ahead and apply the changes */ if (span->flags & ZT_FLAG_RUNNING) return tor2_startup(span); + return 0; } |