From 24b2d1b3ca3d7f35cd9c80c21a7e491f363c9b4f Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 25 Nov 2008 20:00:51 +0000 Subject: Validate the timing priority on the wcte11xp and wct1xxp driver. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5384 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wct1xxp.c | 2 +- drivers/dahdi/wcte11xp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dahdi/wct1xxp.c b/drivers/dahdi/wct1xxp.c index 00aa0e3..9d0e4e5 100644 --- a/drivers/dahdi/wct1xxp.c +++ b/drivers/dahdi/wct1xxp.c @@ -733,7 +733,7 @@ static int t1xxp_spanconfig(struct dahdi_span *span, struct dahdi_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 & DAHDI_FLAG_RUNNING) return t1xxp_startup(span); diff --git a/drivers/dahdi/wcte11xp.c b/drivers/dahdi/wcte11xp.c index 7c2f76e..ec4c3f6 100644 --- a/drivers/dahdi/wcte11xp.c +++ b/drivers/dahdi/wcte11xp.c @@ -944,7 +944,7 @@ static int t1xxp_spanconfig(struct dahdi_span *span, struct dahdi_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 & DAHDI_FLAG_RUNNING) return t1xxp_startup(span); -- cgit v1.2.3