You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2018/11/15 12:45:37 UTC
[mynewt-nimble] 01/02: host/util/addr.c: fix typo in doc
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit ab35afaae26d5fd4d668049e8751931adba8d3f5
Author: Hauke Petersen <ha...@fu-berlin.de>
AuthorDate: Thu Nov 15 10:31:44 2018 +0100
host/util/addr.c: fix typo in doc
---
nimble/host/util/src/addr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/host/util/src/addr.c b/nimble/host/util/src/addr.c
index e0b7880..ba66686 100644
--- a/nimble/host/util/src/addr.c
+++ b/nimble/host/util/src/addr.c
@@ -99,7 +99,7 @@ ble_hs_util_ensure_addr(int prefer_random)
/* Try to load a public address. */
rc = ble_hs_id_copy_addr(BLE_ADDR_PUBLIC, NULL, NULL);
if (rc == BLE_HS_ENOADDR) {
- /* No random address; try to load a random address. */
+ /* No public address; try to load a random address. */
rc = ble_hs_util_ensure_rand_addr();
}
}