summaryrefslogtreecommitdiff
path: root/android
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 /android
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 'android')
-rw-r--r--android/bluetooth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/bluetooth.c b/android/bluetooth.c
index c3ad50349..fe956b5d4 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -2276,7 +2276,7 @@ static void new_long_term_key_event(uint16_t index, uint16_t length,
ediv = le16_to_cpu(key->ediv);
rand = le64_to_cpu(key->rand);
- store_ltk(&key->addr.bdaddr, key->addr.type, key->master,
+ store_ltk(&key->addr.bdaddr, key->addr.type, key->central,
key->val, key->type, key->enc_size, ediv, rand);
}
@@ -3097,7 +3097,7 @@ static struct mgmt_ltk_info *get_ltk_info(GKeyFile *key_file, const char *peer,
info->ediv = g_key_file_get_integer(key_file, peer, ediv_s, NULL);
info->ediv = cpu_to_le16(info->ediv);
- info->master = master;
+ info->central = master;
failed:
g_free(key);