Instead of adding precision (sum of the local and remote precision) to
the TX and RX timestamp error, include only the maximum.
skew = (source_freq_hi - source_freq_lo) / 2.0;
/* and then calculate peer dispersion */
- dispersion = precision + inst->local_tx.err + rx_ts_err + skew * fabs(local_interval);
+ dispersion = MAX(precision, MAX(inst->local_tx.err, rx_ts_err)) +
+ skew * fabs(local_interval);
/* Additional tests required to pass before accumulating the sample */