From 6efabc79d3519baa56ba1c065035a491fc6918ec Mon Sep 17 00:00:00 2001 From: Paul Fagerburg Date: Mon, 27 Jul 2020 15:52:15 -0600 Subject: ec: change usage of whitelist/blacklist Google is working to change its source code to use more inclusive language. To that end, replace the terms "whitelist", "blacklist", and similar with inclusive alternatives. BUG=b:162262297 BRANCH=None TEST=`grep -Eirl "(white|black)[ _\-]*list" .` The only results are in "private/nordic_keyboard/sdk8.0.0" which is not our code. Signed-off-by: Paul Fagerburg Change-Id: Ie5210b98e1096c22d0e9284c101a42820bd3d79d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2321549 Tested-by: Paul Fagerburg Reviewed-by: Jett Rink Commit-Queue: Paul Fagerburg --- chip/nrf51/bluetooth_le.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'chip/nrf51/bluetooth_le.h') diff --git a/chip/nrf51/bluetooth_le.h b/chip/nrf51/bluetooth_le.h index a2b3807a7e..dbb3bccd6e 100644 --- a/chip/nrf51/bluetooth_le.h +++ b/chip/nrf51/bluetooth_le.h @@ -52,19 +52,19 @@ void ble_tx(struct ble_pdu *pdu); /* Receive a packet into pdu if one comes before the timeout */ int ble_rx(struct ble_pdu *pdu, int timeout, int adv); -/* White list handling */ +/* Allow list handling */ -/* Clear the white list */ -int ble_radio_clear_white_list(void); +/* Clear the allow list */ +int ble_radio_clear_allow_list(void); -/* Read the size of the white list and assign it to ret_size */ -int ble_radio_read_white_list_size(uint8_t *ret_size); +/* Read the size of the allow list and assign it to ret_size */ +int ble_radio_read_allow_list_size(uint8_t *ret_size); /* Add the device with the address specified by addr_ptr and type */ -int ble_radio_add_device_to_white_list(const uint8_t *addr_ptr, uint8_t type); +int ble_radio_add_device_to_allow_list(const uint8_t *addr_ptr, uint8_t type); /* Remove the device with the address specified by addr_ptr and type */ -int ble_radio_remove_device_from_white_list(const uint8_t *addr_ptr, +int ble_radio_remove_device_from_allow_list(const uint8_t *addr_ptr, uint8_t type); #endif /* __NRF51_BLUETOOTH_LE_H */ -- cgit v1.2.1