Commit be9a05d9 authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix state machine when announce timer expires

fix for coherency with ptpd: if announce timer expires and our clock can not
act as master, the state must be put back to LISTENING
parent 32ade967
......@@ -19,6 +19,7 @@ void st_com_execute_slave(struct pp_instance *ppi)
ppi->next_state = PPS_MASTER;
}
else {
ppi->next_state = PPS_LISTENING;
st_com_restart_annrec_timer(ppi);
}
}
......
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