Commit 07cd704e authored by Jean-Claude BAU's avatar Jean-Claude BAU

Bug fix External Port Configuration : Slave cannot synchronize

Bug description : When a MASTER port is at a lower port number than a
SLAVE port, the SLAVE port is jumping all the time between UNCALIBRATED
and SLAVE state.
parent 62e5fbbe
......@@ -1358,7 +1358,7 @@ static int bmc_state_descision_epc(struct pp_instance *ppi) {
/* Update the data set: Table 136 */
int i;
int exec_m2=1;
for (i=get_numberPorts(DSDEF(ppi)-1); i>=0;i--) {
for (i=get_numberPorts(DSDEF(ppi))-1; i>=0;i--) {
pp_std_states state=INST(GLBS(ppi),i)->state;
if ( state==PPS_SLAVE || state==PPS_UNCALIBRATED ) {
/* Clause 17.6.5.4 a) if none of the PTP Instance’s PTP Ports are in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment