Commit 672f53ca authored by Jean-Claude BAU's avatar Jean-Claude BAU

Do not execute BMCA when state is FAULTY

parent bac7d620
......@@ -622,6 +622,10 @@ static int bmc_state_decision(struct pp_instance *ppi)
pp_diag(ppi, bmc, 2, "%s\n", __func__);
if ( (ppi->state == PPS_FAULTY))
/* Exit from FAULTY state is implementation specific and implemented in state_faulty.c */
return PPS_FAULTY;
if (is_slaveOnly(DSDEF(ppi))) {
if ( !erbestValid )
return PPS_LISTENING; /* No foreign master */
......
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