diff --git a/subsys/net/l2/ethernet/gptp/gptp_mi.c b/subsys/net/l2/ethernet/gptp/gptp_mi.c index 0859868e8e3..4f430e8c2f6 100644 --- a/subsys/net/l2/ethernet/gptp/gptp_mi.c +++ b/subsys/net/l2/ethernet/gptp/gptp_mi.c @@ -706,9 +706,9 @@ static void gptp_mi_clk_slave_sync_compute(void) pss = &state->pss_rcv_ptr->sync_info; - sync_receipt_time = pss->rate_ratio; + sync_receipt_time = port_ds->neighbor_prop_delay; + sync_receipt_time *= pss->rate_ratio; sync_receipt_time /= port_ds->neighbor_rate_ratio; - sync_receipt_time *= port_ds->neighbor_prop_delay; sync_receipt_time += pss->follow_up_correction_field; sync_receipt_time += port_ds->delay_asymmetry;