summaryrefslogtreecommitdiffstats
path: root/sd_event_loop.cpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-03-30 08:16:47 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-04-24 11:22:15 -0500
commit2fd466f415b7b0344483061e4ffa88fdcbce4a18 (patch)
treea250e4eae904414e69d12d36ab146fc9bf29ab3a /sd_event_loop.cpp
parent7306314f605c6232218144db10ae446a367dbe2e (diff)
downloadphosphor-net-ipmid-2fd466f415b7b0344483061e4ffa88fdcbce4a18.tar.gz
phosphor-net-ipmid-2fd466f415b7b0344483061e4ffa88fdcbce4a18.zip
Add resendPayload function
Resolves openbmc/openbmc#856 Change-Id: I957ce889500840c067e97537e825571cfb77e1c4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'sd_event_loop.cpp')
-rw-r--r--sd_event_loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd_event_loop.cpp b/sd_event_loop.cpp
index 350a96c..af1a5ee 100644
--- a/sd_event_loop.cpp
+++ b/sd_event_loop.cpp
@@ -149,12 +149,12 @@ static int retryTimerHandler(sd_event_source* s, uint64_t usec,
--context.retryCounter;
std::get<eventloop::EventLoop&>(singletonPool).switchTimer
(instance, Timers::RETRY, true);
- // Resend the SOL payload
+ context.resendPayload(sol::Context::noClear);
}
else
{
context.retryCounter = context.maxRetryCount;
- // Resend the SOL payload
+ context.resendPayload(sol::Context::clear);
std::get<eventloop::EventLoop&>(singletonPool).switchTimer
(instance, Timers::RETRY, false);
std::get<eventloop::EventLoop&>(singletonPool).switchTimer
OpenPOWER on IntegriCloud