[Asterisk-cvs] zaptel wct4xxp.c,1.30,1.31
markster at lists.digium.com
markster at lists.digium.com
Wed Apr 7 16:17:38 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv3034
Modified Files:
wct4xxp.c
Log Message:
Set timing in only one place
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- wct4xxp.c 6 Apr 2004 16:16:01 -0000 1.30
+++ wct4xxp.c 7 Apr 2004 20:18:20 -0000 1.31
@@ -504,7 +504,7 @@
/* If we're already running, then go ahead and apply the changes */
if (span->flags & ZT_FLAG_RUNNING)
return t4_startup(span);
- t4_set_timing_source_auto(wc);
+ wc->checktiming = 1;
return 0;
}
@@ -874,7 +874,7 @@
if (wc->syncs[1] == span->spanno) printk("SPAN %d: Secondary Sync Source\n",span->spanno);
if (wc->syncs[2] == span->spanno) printk("SPAN %d: Tertiary Sync Source\n",span->spanno);
if (wc->syncs[3] == span->spanno) printk("SPAN %d: Quaternary Sync Source\n",span->spanno);
- t4_set_timing_source_auto(wc);
+ wc->checktiming = 1;
return 0;
}
@@ -1557,11 +1557,7 @@
zt_unregister(&wc->spans[2]);
return -1;
}
- if (debug)
- printk("Setting timing source\n");
- t4_set_timing_source_auto(wc);
- if (debug)
- printk("Timing source selected\n");
+ wc->checktiming = 1;
#ifdef ENABLE_TASKLETS
tasklet_init(&wc->t4_tlet, t4_tasklet, (unsigned long)wc);
#endif
More information about the svn-commits
mailing list