Change NameServer_get to ignore 'remote get' timeouts in BIOS
[ipc/ipcdev.git] / packages / ti / sdo / utils / NameServer.c
index f99fc3249999603503b355e74ac468436d677b6d..43e46b9dfc35a8d770e4ab8ce68938b444d67cc7 100644 (file)
@@ -370,7 +370,8 @@ Int NameServer_get(NameServer_Handle handle, String name, Ptr value,
                         /* continue only if not found */
                         if ((status >= 0) ||
                             ((status < 0) &&
-                            (status != NameServer_E_NOTFOUND))) {
+                            (status != NameServer_E_NOTFOUND) &&
+                            (status != NameServer_E_TIMEOUT))) {
                              break;
                         }
                     }
@@ -402,7 +403,8 @@ Int NameServer_get(NameServer_Handle handle, String name, Ptr value,
             /* continue only if not found */
             if ((status >= 0) ||
                 ((status < 0) &&
-                (status != NameServer_E_NOTFOUND))) {
+                (status != NameServer_E_NOTFOUND) &&
+                (status != NameServer_E_TIMEOUT))) {
                  break;
             }
             else {