diff --git a/ipmbbridged.cpp b/ipmbbridged.cpp
index e5fd196..72c2e1d 100644
--- a/ipmbbridged.cpp
+++ b/ipmbbridged.cpp
@@ -547,8 +547,9 @@
     for (int i = 0; i < ipmbNumberOfTries; i++)
     {
         boost::system::error_code ec;
+        int i2cRetryCnt = 0;
 
-        for (int j = 0; j < ipmbI2cNumberOfRetries; j++)
+        for (; i2cRetryCnt < ipmbI2cNumberOfRetries; i2cRetryCnt++)
         {
             boost::asio::async_write(
                 i2cMasterSocket,
@@ -558,13 +559,17 @@
 
             if (ec)
             {
-                phosphor::logging::log<phosphor::logging::level::INFO>(
-                    "requestAdd: Sent to I2C failed");
-                continue;
+                continue; // retry
             }
             break;
         }
 
+        if (i2cRetryCnt == ipmbI2cNumberOfRetries)
+        {
+            phosphor::logging::log<phosphor::logging::level::INFO>(
+                "requestAdd: Sent to I2C failed after retries");
+        }
+
         request->timer->expires_after(
             std::chrono::milliseconds(ipmbRequestRetryTimeout));
         request->timer->async_wait(yield[ec]);
