Commit 01290482 authored by Aurelio Colosimo's avatar Aurelio Colosimo

proto-standard/state-slave.c: rearm delay req timeout after msg_issue_delay_req

This patch, suggested by Alessandro Rubini, fixes a recent bug which made
delay_req message been issued just the first time, because the timer was not
rearmed after the message sending.
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 762bd406
......@@ -115,6 +115,10 @@ out:
ppi->t3 = ppi->last_snt_time;
/* Restart the timeout for next time */
pp_timeout_rand(ppi, PP_TO_DELAYREQ,
DSPOR(ppi)->logMinDelayReqInterval);
/* Add latency */
add_TimeInternal(&ppi->t3,
&ppi->t3,
......
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