Commit d55f3cc0 authored by baujc's avatar baujc

Reset parent WR info in case of WR exchange protocol time-out

For a WR slave, it will force the recetion of a new ANNOUNCE message
before to jump from SLAVE to WR_PRESENT state.
parent 56931b17
......@@ -44,7 +44,11 @@ void wr_handshake_fail(struct pp_instance *ppi)
ppi->next_state = PPS_MASTER;
else
ppi->next_state = PPS_SLAVE;
wrp->wrMode = NON_WR;
wrp->wrMode =
wrp->parentWrConfig = NON_WR;
wrp->parentIsWRnode =
wrp->parentWrModeOn =
wrp->parentCalibrated = FALSE;
}
......
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