Index: ipmi-ssif-driver-api.c
===================================================================
--- ipmi-ssif-driver-api.c	(revision 10066)
+++ ipmi-ssif-driver-api.c	(working copy)
@@ -30,6 +30,7 @@
 #endif /* HAVE_UNISTD_H */
 #include <assert.h>
 #include <errno.h>
+#include <time.h> 
 
 #include "freeipmi/driver/ipmi-ssif-driver.h"
 #include "freeipmi/debug/ipmi-debug.h"
@@ -319,7 +320,9 @@
   uint8_t cmd = 0;             /* used for debugging */
   uint8_t group_extension = 0; /* used for debugging */
   uint64_t val;
-
+  struct timespec request, remain;
+  uint8_t retry = 5;
+  
   assert (ctx
 	  && ctx->magic == IPMI_CTX_MAGIC
 	  && ctx->type == IPMI_DEVICE_SSIF
@@ -350,9 +353,39 @@
   if (_ssif_cmd_write (ctx, cmd, group_extension, obj_cmd_rq) < 0)
     return (-1);
 
+  /******************************************************************************
+    12.9 SMBus NACKs and Error Recovery:
+    ====================================
+    The BMC can NACK the SMBus host controller if it is not ready to accept a new 
+    transaction. Typically, this will be exhibited by the BMC NACK'ing its slave 
+    address. 
+    
+    If the BMC NACKs a single part transaction, software can simply retry it. 
+    If a 'middle' or 'end' transaction is NACK'd, software should not retry the 
+    particular but should restart the multi-part read or write from the beginning
+    Start transaction for the transfer.
+  *******************************************************************************/
   if (_ssif_cmd_read (ctx, cmd, group_extension, obj_cmd_rs) < 0)
-    return (-1);
+    {
+      while (1)
+        {
+          request.tv_sec = 0; 
+          request.tv_nsec = 20000000; /* 20 ms */
+          if (nanosleep (&request, &remain) < 0 )
+            return (-1);
 
+          if (_ssif_cmd_read (ctx, cmd, group_extension, obj_cmd_rs) < 0)
+            {
+              if (retry == 0)
+                return (-1);
+        
+              retry--;        
+            }
+            else
+              break;
+        }
+    }
+
   return (0);
 }
 
