summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTsung Yeung <tyeung@us.ibm.com>2019-07-01 17:49:58 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-07-02 09:03:19 -0500
commitd51b8ebc92c7bc4ee3c905a8cd9e554accde45eb (patch)
treeba2865a9bdf52f76458e463aec5704f1b53167e7 /src
parent08b6443e65d37146d77953f9dbe47a382734fde3 (diff)
downloadtalos-hostboot-d51b8ebc92c7bc4ee3c905a8cd9e554accde45eb.tar.gz
talos-hostboot-d51b8ebc92c7bc4ee3c905a8cd9e554accde45eb.zip
Change polling condition to avoid premature timeout error
Restore with encryption requires longer time and could be hitting timeout value. Modify the polling condition to allow one extra iteration as buffer. Change-Id: Ib69774a67062be7d9d57a6880b9a31155a84d11b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79876 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/isteps/nvdimm/nvdimm.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/isteps/nvdimm/nvdimm.C b/src/usr/isteps/nvdimm/nvdimm.C
index 004aaa68e..93de70d49 100644
--- a/src/usr/isteps/nvdimm/nvdimm.C
+++ b/src/usr/isteps/nvdimm/nvdimm.C
@@ -577,7 +577,7 @@ errlHndl_t nvdimmPollStatus ( Target *i_nvdimm,
o_poll += OPS_POLL_TIME_MS;
- } while (o_poll < l_timeout);
+ } while (o_poll <= l_timeout);
if (!l_done && !l_err)
{
OpenPOWER on IntegriCloud