summaryrefslogtreecommitdiff
path: root/kernel/wcte11xp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/wcte11xp.c')
-rw-r--r--kernel/wcte11xp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wcte11xp.c b/kernel/wcte11xp.c
index 1d5bd51..a50fd25 100644
--- a/kernel/wcte11xp.c
+++ b/kernel/wcte11xp.c
@@ -947,7 +947,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
struct t1 *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);