summaryrefslogtreecommitdiff
path: root/monitor/control.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:31:57 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit7582f36071830764eaebde98d336a6d3620a4bb4 (patch)
tree7e71a5a506b8a5b452f7f0d51e2131675f515b21 /monitor/control.c
parenta777d7d5351923e1e832f19c6475ce91180ffec1 (diff)
downloadbluez-7582f36071830764eaebde98d336a6d3620a4bb4.tar.gz
monitor: 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", "link key", and "accept list" Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'monitor/control.c')
-rw-r--r--monitor/control.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/monitor/control.c b/monitor/control.c
index dad23a0e6..009cf1520 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -305,19 +305,19 @@ static void mgmt_new_long_term_key(uint16_t len, const void *buf)
return;
}
- /* LE SC keys are both for master and slave */
+ /* LE SC keys are both for central and peripheral */
switch (ev->key.type) {
case 0x00:
if (ev->key.central)
- type = "Master (Unauthenticated)";
+ type = "Central (Unauthenticated)";
else
- type = "Slave (Unauthenticated)";
+ type = "Peripheral (Unauthenticated)";
break;
case 0x01:
if (ev->key.central)
- type = "Master (Authenticated)";
+ type = "Central (Authenticated)";
else
- type = "Slave (Authenticated)";
+ type = "Peripheral (Authenticated)";
break;
case 0x02:
type = "SC (Unauthenticated)";