summaryrefslogtreecommitdiffstats
path: root/host-interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host-interface.cpp')
-rw-r--r--host-interface.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host-interface.cpp b/host-interface.cpp
index be2bd99..0bce888 100644
--- a/host-interface.cpp
+++ b/host-interface.cpp
@@ -3,7 +3,6 @@
#include <utils.hpp>
#include <config.h>
#include "host-interface.hpp"
-#include "elog-errors.hpp"
namespace phosphor
{
@@ -31,8 +30,10 @@ base::Host::Command Host::getNextCommand()
if(this->workQueue.empty())
{
- log<level::ERR>("Control Host work queue is empty!");
- elog<xyz::openbmc_project::Control::Internal::Host::QueueEmpty>();
+ // Just return a heartbeat in this case. A spurious SMS_ATN was
+ // asserted for the host (probably from a previous boot).
+ log<level::INFO>("Control Host work queue is empty!");
+ return (Command::Heartbeat);
}
// Pop the processed entry off the queue
OpenPOWER on IntegriCloud