Commit 26ea047c authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix compilation error (PP_DEFAULT_NEXT_DELAY_MS was misspelled)

parent 63e90550
......@@ -13,6 +13,6 @@ int pp_faulty(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
pp_printf("event FAULT_CLEARED\n");
ppi->next_state = PPS_INITIALIZING;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
return 0;
}
......@@ -61,12 +61,12 @@ int pp_initializing(struct pp_instance *ppi, unsigned char *pkt, int plen)
msg_pack_header(ppi->buf_out,ppi);
ppi->next_state = PPS_LISTENING;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
return 0;
failure:
pp_printf("Failed to initialize network\n");
ppi->next_state = PPS_FAULTY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
return 0;
}
......@@ -40,7 +40,7 @@ state_updated:
pp_timer_stop(ppi->timers[PP_TIMER_ANNOUNCE_RECEIPT]);
}
ppi->next_delay = PP_DEFAULT_NEXT_DELAY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
return 0;
}
......@@ -53,7 +53,7 @@ state_updated:
pp_timer_stop(ppi->timers[PP_TIMER_PDELAYREQ_INTERVAL]);
}
ppi->next_delay = PP_DEFAULT_NEXT_DELAY;
ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
return 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