summaryrefslogtreecommitdiff
path: root/wct1xxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct1xxp.c')
-rw-r--r--wct1xxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index 03be58b..52a19da 100644
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -738,7 +738,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
span->txlevel = lc->lbo;
span->rxlevel = 0;
/* Do we want to SYNC on receive or not */
- wc->sync = lc->sync;
+ wc->sync = (lc->sync) ? 1 : 0;
/* If already running, apply changes immediately */
if (span->flags & ZT_FLAG_RUNNING)
return t1xxp_startup(span);