summaryrefslogtreecommitdiff
path: root/tools/smp-tester.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:31:58 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit048f2ac0e4fcc19cf9b1f8fc9525a1dec21ab87f (patch)
tree8f326ce2b19c64ded6f6efcf8e67a157fd40bb14 /tools/smp-tester.c
parent7582f36071830764eaebde98d336a6d3620a4bb4 (diff)
downloadbluez-048f2ac0e4fcc19cf9b1f8fc9525a1dec21ab87f.tar.gz
emulator: 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/smp-tester.c')
-rw-r--r--tools/smp-tester.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/smp-tester.c b/tools/smp-tester.c
index 644c451c2..b075c5df8 100644
--- a/tools/smp-tester.c
+++ b/tools/smp-tester.c
@@ -767,7 +767,7 @@ static void init_bdaddr(struct test_data *data)
{
const uint8_t *master_bdaddr, *client_bdaddr;
- master_bdaddr = hciemu_get_master_bdaddr(data->hciemu);
+ master_bdaddr = hciemu_get_central_bdaddr(data->hciemu);
if (!master_bdaddr) {
tester_warn("No master bdaddr");
tester_test_failed();
@@ -808,7 +808,7 @@ static void test_client(const void *test_data)
if (smp->expect_hci_command) {
tester_print("Registering HCI command callback");
- hciemu_add_master_post_command_hook(data->hciemu,
+ hciemu_add_central_post_command_hook(data->hciemu,
command_hci_callback, data);
test_add_condition(data);
}
@@ -889,7 +889,7 @@ static void test_server(const void *test_data)
if (smp->expect_hci_command) {
tester_print("Registering HCI command callback");
- hciemu_add_master_post_command_hook(data->hciemu,
+ hciemu_add_central_post_command_hook(data->hciemu,
command_hci_callback, data);
test_add_condition(data);
}