net/nimble/hs; QCA6234 rejects 2nd page of event settings.
Instead of failing, log the event as warning and continue.


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/1db1b3c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/1db1b3c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/1db1b3c1

Branch: refs/heads/master
Commit: 1db1b3c17264cf42ef210d1c00cb7ef15ec07f09
Parents: 83c0b03
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Apr 25 11:06:10 2017 -0700
Committer: Christopher Collins <ccoll...@apache.org>
Committed: Tue May 16 11:33:41 2017 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_hs_startup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1db1b3c1/net/nimble/host/src/ble_hs_startup.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_startup.c 
b/net/nimble/host/src/ble_hs_startup.c
index f7d5956..a38c703 100644
--- a/net/nimble/host/src/ble_hs_startup.c
+++ b/net/nimble/host/src/ble_hs_startup.c
@@ -189,7 +189,7 @@ ble_hs_startup_set_evmask_tx(void)
     ble_hs_hci_cmd_build_set_event_mask2(0x0000000000800000, buf, sizeof buf);
     rc = ble_hs_hci_cmd_tx_empty_ack(buf);
     if (rc != 0) {
-        return rc;
+        BLE_HS_LOG(WARN, "ble_hs_startup_set_evmask_tx() failed\n");
     }
 
     return 0;

Reply via email to