summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)