summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:32:05 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit7dd00605d1d5283d193498707987d9c197339ee7 (patch)
treefa49ccdabf900168b67b6092cadfdf6638fb7076 /src/device.c
parentd21177002d1088cd3fdd5cd6290ff9bd1edd74d7 (diff)
downloadbluez-7dd00605d1d5283d193498707987d9c197339ee7.tar.gz
src: 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", "accept list", and "reject list". Note that some suggestions come from https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf Also use "primary" to refer the global mgmt struct. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index 26a01612a..313b5dab1 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1123,7 +1123,7 @@ static void set_blocked(GDBusPendingPropertySet id, gboolean value, void *data)
break;
case EINVAL:
g_dbus_pending_property_error(id, ERROR_INTERFACE ".Failed",
- "Kernel lacks blacklist support");
+ "Kernel lacks reject list support");
break;
default:
g_dbus_pending_property_error(id, ERROR_INTERFACE ".Failed",
@@ -5789,7 +5789,7 @@ void btd_device_set_temporary(struct btd_device *device, bool temporary)
if (temporary) {
if (device->bredr)
- adapter_whitelist_remove(device->adapter, device);
+ adapter_accept_list_remove(device->adapter, device);
adapter_connect_list_remove(device->adapter, device);
if (device->auto_connect) {
device->disable_auto_connect = TRUE;
@@ -5801,7 +5801,7 @@ void btd_device_set_temporary(struct btd_device *device, bool temporary)
clear_temporary_timer(device);
if (device->bredr)
- adapter_whitelist_add(device->adapter, device);
+ adapter_accept_list_add(device->adapter, device);
store_device_info(device);