Commit 775626e3 authored by Maciej Lipinski's avatar Maciej Lipinski

bmc/fms: bugfix, clockClass of current GM was overwriten by default each time new port went up

the bmc data copying functions (e.g. m1(), s1()) should be called
only as a result of BMCA. This is rather irrelevant for WR, but
important for PTP networks.
parent 4972c956
......@@ -64,8 +64,6 @@ int pp_initializing(struct pp_instance *ppi, unsigned char *pkt, int plen)
pp_diag(ppi, bmc, 1, "clock accuracy = %d\n",
DSDEF(ppi)->clockQuality.clockAccuracy);
m1(ppi);
msg_pack_header(ppi, ppi->tx_ptp); /* This is used for all tx */
if (ppi->role != PPSI_ROLE_MASTER)
......
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