diff options
Diffstat (limited to 'kernel/wct1xxp.c')
-rw-r--r-- | kernel/wct1xxp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wct1xxp.c b/kernel/wct1xxp.c index aee95c1..f726040 100644 --- a/kernel/wct1xxp.c +++ b/kernel/wct1xxp.c @@ -739,7 +739,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) struct t1xxp *wc = span->pvt; /* 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); |