summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-07 22:44:50 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-07 22:44:50 +0000
commitd2024e07e133925ce297b288a1e0f4750a0fed9c (patch)
tree89bb2cc0c1f8aaa363891042575be0bc384b59cd /wct4xxp.c
parent958d6d5d2cab56226109c395dc79245eaa71fe8e (diff)
Always update syncsrc info
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@347 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-xwct4xxp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 1417375..03d9f06 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -653,14 +653,14 @@ static void t4_set_timing_source(struct t4 *wc, int unit)
printk("TE410P: Timing from span %d\n", unit + 1);
else
printk("TE410P: Timing from internal timer\n");
- wc->syncsrc = unit;
- if ((unit < 0) || (unit > 3))
- unit = 0;
- else
- unit++;
- for (x=0;x<4;x++)
- wc->spans[x].syncsrc = unit;
- }
+ }
+ wc->syncsrc = unit;
+ if ((unit < 0) || (unit > 3))
+ unit = 0;
+ else
+ unit++;
+ for (x=0;x<4;x++)
+ wc->spans[x].syncsrc = unit;
}
static void t4_set_timing_source_auto(struct t4 *wc)