summaryrefslogtreecommitdiff
path: root/tools/oobtest.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:31:55 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:53 +0200
commitb7d6a7d25628e9b521a29a5c133fcadcedeb2102 (patch)
treec8b036035a1eadb9df8b3aa159842c85f99c607e /tools/oobtest.c
parent62182e0fccbe841f9ad8b64ad30f9dbef48ad838 (diff)
downloadbluez-b7d6a7d25628e9b521a29a5c133fcadcedeb2102.tar.gz
lib: Inclusive language changes
BT core spec 5.3 promotes the usage of inclusive languages. This CL replaces some terms with the more appropriate counterparts, such as "central", "peripheral", and "accept list". Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/oobtest.c')
-rw-r--r--tools/oobtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/oobtest.c b/tools/oobtest.c
index c095036fe..0368bc386 100644
--- a/tools/oobtest.c
+++ b/tools/oobtest.c
@@ -133,13 +133,13 @@ static void new_long_term_key_event(uint16_t index, uint16_t len,
switch (ev->key.type) {
case 0x00:
- if (ev->key.master)
+ if (ev->key.central)
type = "Unauthenticated, Master";
else
type = "Unauthenticated, Slave";
break;
case 0x01:
- if (ev->key.master)
+ if (ev->key.central)
type = "Authenticated, Master";
else
type = "Authenticated, Slave";