BLE Host - If initial sync fails, retry later.

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/e679687f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/e679687f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/e679687f

Branch: refs/heads/nrf_cputime
Commit: e679687fcd6a98a622054ac5786682fe0aa9cc9a
Parents: 9b98206
Author: Christopher Collins <[email protected]>
Authored: Tue Mar 28 16:40:38 2017 -0700
Committer: Christopher Collins <[email protected]>
Committed: Tue Mar 28 16:58:41 2017 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_hs.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e679687f/net/nimble/host/src/ble_hs.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs.c b/net/nimble/host/src/ble_hs.c
index 9fb5702..231eea1 100644
--- a/net/nimble/host/src/ble_hs.c
+++ b/net/nimble/host/src/ble_hs.c
@@ -475,10 +475,7 @@ ble_hs_start(void)
         return rc;
     }
 
-    rc = ble_hs_sync();
-    if (rc != 0) {
-        return rc;
-    }
+    ble_hs_sync();
 
     return 0;
 }

Reply via email to