Commit 5ac225a4 authored by Alessandro Rubini's avatar Alessandro Rubini

whiterabbit: trivial fix in calibrating a pre-calibrated link

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d2f1393b
...@@ -22,7 +22,7 @@ int wr_calibration(struct pp_instance *ppi, unsigned char *pkt, int plen) ...@@ -22,7 +22,7 @@ int wr_calibration(struct pp_instance *ppi, unsigned char *pkt, int plen)
pp_timeout_set(ppi, PP_TO_EXT_0, pp_timeout_set(ppi, PP_TO_EXT_0,
wrp->calPeriod); wrp->calPeriod);
if (wrp->calibrated) if (wrp->calibrated)
wrp->wrPortState = WR_PORT_CALIBRATION_2; wrp->wrPortState = WR_PORT_CALIBRATION_8;
} }
if (pp_timeout_z(ppi, PP_TO_EXT_0)) { if (pp_timeout_z(ppi, PP_TO_EXT_0)) {
......
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