diff options
author | Archie Pusaka <apusaka@chromium.org> | 2021-09-15 16:31:55 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-09-21 10:51:53 +0200 |
commit | b7d6a7d25628e9b521a29a5c133fcadcedeb2102 (patch) | |
tree | c8b036035a1eadb9df8b3aa159842c85f99c607e /android | |
parent | 62182e0fccbe841f9ad8b64ad30f9dbef48ad838 (diff) | |
download | bluez-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.c | 4 |
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); |