Fix typo in the initial priority field of the parent data set.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-01-01 09:00:38 +01:00
parent ba6cf8b767
commit a442a928f8
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {