diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-11-25 20:00:51 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-11-25 20:00:51 +0000 |
commit | 24b2d1b3ca3d7f35cd9c80c21a7e491f363c9b4f (patch) | |
tree | 95b02563367bdf0dc72efa7aa22f32d8a0e3573b /drivers/dahdi/wcte11xp.c | |
parent | 8de1c75df0455f69a5f9a2e877ad788dbe82f1d7 (diff) |
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
Diffstat (limited to 'drivers/dahdi/wcte11xp.c')
-rw-r--r-- | drivers/dahdi/wcte11xp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |