Commit 466051b2 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

Revert "whiterabbit: trivial fix in calibrating a pre-calibrated link"

This reverts commit 5ac225a4.
Otherwise, in the case of WRS (when wrp->calibrated is always true) we never
call calib_poll() and we don't provide correct values of fixed Tx/Rx deltas.
parent 4c8ddedf
......@@ -35,7 +35,7 @@ int wr_calibration(struct pp_instance *ppi, unsigned char *pkt, int plen)
e = msg_issue_wrsig(ppi, CALIBRATE);
wrp->wrPortState = WR_PORT_CALIBRATION_0;
if (wrp->calibrated)
wrp->wrPortState = WR_PORT_CALIBRATION_8;
wrp->wrPortState = WR_PORT_CALIBRATION_2;
}
pp_diag(ppi, ext, 1, "%s: substate %i\n", __func__,
......
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