From 05bf6ac6017c304cea0288ffd54ab3b6188afbbe Mon Sep 17 00:00:00 2001 From: Russ Meyerriecks Date: Wed, 18 Dec 2013 18:10:40 -0600 Subject: [PATCH] wcte13xp: Fix bug preventing recover timing from ever being set A bug introduced in v2.8.0 prevented the recover timing configuration from being set properly on the hardware. This caused the card to never go into recovered timing mode. Signed-off-by: Russ Meyerriecks Signed-off-by: Shaun Ruffell --- drivers/dahdi/wcte13xp-base.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dahdi/wcte13xp-base.c b/drivers/dahdi/wcte13xp-base.c index c3d1c17..858d136 100644 --- a/drivers/dahdi/wcte13xp-base.c +++ b/drivers/dahdi/wcte13xp-base.c @@ -1684,6 +1684,9 @@ t13x_spanconfig(struct file *file, struct dahdi_span *span, if (file->f_flags & O_NONBLOCK) return -EAGAIN; + /* Set recover timing mode */ + span->syncsrc = lc->sync; + /* make sure that sigcaps gets updated if necessary */ for (i = 0; i < wc->span.channels; i++) t13x_chan_set_sigcap(span, i);