Commit c775ac04 authored by Alessandro Rubini's avatar Alessandro Rubini

bugfix: common-fun: clear a timeout when it expired

This fixes the bug exposed by the previous commit.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 4b07d444
......@@ -36,6 +36,7 @@ int st_com_execute_slave(struct pp_instance *ppi, int check_delayreq)
return 0;
if (pp_timeout(ppi, PP_TO_DELAYREQ)) {
pp_timeout_clr(ppi, PP_TO_DELAYREQ);
PP_VPRINTF("event DELAYREQ_INTERVAL_TIMEOUT_EXPIRES\n");
ret = msg_issue_delay_req(ppi);
......
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