Fix typo in the initial priority field of the parent data set.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
ba6cf8b767
commit
a442a928f8
2
clock.c
2
clock.c
|
@ -210,7 +210,7 @@ struct clock *clock_create(char *phc, struct interface *iface, int count,
|
||||||
c->dad.observedParentClockPhaseChangeRate = 0x7fffffff;
|
c->dad.observedParentClockPhaseChangeRate = 0x7fffffff;
|
||||||
c->dad.grandmasterPriority1 = c->dds.priority1;
|
c->dad.grandmasterPriority1 = c->dds.priority1;
|
||||||
c->dad.grandmasterClockQuality = c->dds.clockQuality;
|
c->dad.grandmasterClockQuality = c->dds.clockQuality;
|
||||||
c->dad.grandmasterPriority2 = c->dds.priority1;
|
c->dad.grandmasterPriority2 = c->dds.priority2;
|
||||||
c->dad.grandmasterIdentity = c->dds.clockIdentity;
|
c->dad.grandmasterIdentity = c->dds.clockIdentity;
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(c->pollfd); i++) {
|
for (i = 0; i < ARRAY_SIZE(c->pollfd); i++) {
|
||||||
|
|
Loading…
Reference in New Issue