diff options
author | Paul Dietrich <paulfdietrich@yahoo.com> | 2016-05-18 14:25:17 -0700 |
---|---|---|
committer | Paul Dietrich <paulfdietrich@yahoo.com> | 2016-06-02 14:12:05 -0700 |
commit | 34e4509af1f497c6b85cf16f1f43755a998f8e4b (patch) | |
tree | bc5f1d2338d51225f063496272a50f4e961f58ee /net/nimble/host/src/ble_hs_startup.c | |
parent | a8c1718281f2cb925a215d508074aaa849443348 (diff) |
second cut at host privacy
Diffstat (limited to 'net/nimble/host/src/ble_hs_startup.c')
-rw-r--r-- | net/nimble/host/src/ble_hs_startup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/nimble/host/src/ble_hs_startup.c b/net/nimble/host/src/ble_hs_startup.c index f26eebad..d0f96a20 100644 --- a/net/nimble/host/src/ble_hs_startup.c +++ b/net/nimble/host/src/ble_hs_startup.c @@ -84,7 +84,7 @@ ble_hs_startup_le_set_evmask_tx(void) int rc; /* [ Default event set ]. */ - host_hci_cmd_build_le_set_event_mask(0x000000000000001f, buf, sizeof buf); + host_hci_cmd_build_le_set_event_mask(0x000000000000021f, buf, sizeof buf); rc = ble_hci_cmd_tx_empty_ack(buf); if (rc != 0) { return rc; @@ -164,7 +164,8 @@ ble_hs_startup_go(void) } /* XXX: Read BD_ADDR. */ - ble_hs_priv_init_identity(g_dev_addr); + ble_hs_priv_update_identity(g_dev_addr); + ble_hs_priv_update_irk(NULL); return rc; } |