Commit 8c98a453 authored by Aurelio Colosimo's avatar Aurelio Colosimo

proto-ext-whiterabbit/common-fun.c: fixed condition for going to wrs_present

parent e040432b
......@@ -174,7 +174,7 @@ int st_com_slave_handle_announce(struct pp_instance *ppi, unsigned char *buf,
if ((DSPOR(ppi)->wrConfig & WR_S_ONLY) &&
(1 /* FIXME: Recommended State, see page 33*/) &&
(DSPOR(ppi)->parentWrConfig & WR_M_ONLY) &&
(!DSPOR(ppi)->wrMode || !DSPOR(ppi)->parentWrModeOn))
(!DSPOR(ppi)->wrModeOn || !DSPOR(ppi)->parentWrModeOn))
ppi->next_state = WRS_PRESENT;
/*Reset Timer handling Announce receipt timeout*/
......
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