Bluetooth: use inclusive language in HCI role comments
authorArchie Pusaka <apusaka@chromium.org>
Fri, 4 Jun 2021 08:26:25 +0000 (16:26 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:43 +0000 (07:12 +0200)
commit74be523ce6bed0531e4f31c3e1387909589e9bfe
treef64be5a13feb54798b48785eb403f868f3af4a2e
parent83b4b19551411c83bbcf677718ab5d9f60d982f6
Bluetooth: use inclusive language in HCI role comments

This patch replaces some non-inclusive terms based on the appropriate
language mapping table compiled by the Bluetooth SIG:
https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf

Specifically, these terms are replaced:
master -> initiator (for smp) or central (everything else)
slave  -> responder (for smp) or peripheral (everything else)

The #define preprocessor terms are unchanged for now to not disturb
dependent APIs.

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/smp.c