PLDM: fix for a poweron hang

This commit fixes the hang issue caused when
booting to host runtime followed by restarting pldmd
followed by power off and power on.
The variable responseReceived is set to false when the
host powersOff.

Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
Change-Id: I47d6570fffec7b5c86db102f891f7a96f66f1f39
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index e5a3e6b..d7051cf 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -92,6 +92,7 @@
                     pldm_entity_association_tree_copy_root(bmcEntityTree,
                                                            entityTree);
                     this->sensorMap.clear();
+                    this->responseReceived = false;
                 }
             }
         });