diff options
author | Archie Pusaka <apusaka@chromium.org> | 2021-06-04 16:26:25 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-06-26 07:12:43 +0200 |
commit | 74be523ce6bed0531e4f31c3e1387909589e9bfe (patch) | |
tree | f64be5a13feb54798b48785eb403f868f3af4a2e /net/bluetooth/l2cap_core.c | |
parent | 83b4b19551411c83bbcf677718ab5d9f60d982f6 (diff) | |
download | linux-74be523ce6bed0531e4f31c3e1387909589e9bfe.tar.gz linux-74be523ce6bed0531e4f31c3e1387909589e9bfe.tar.bz2 linux-74be523ce6bed0531e4f31c3e1387909589e9bfe.zip |
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>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 9ebb85df4db4..b76c5d00b082 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -1691,7 +1691,7 @@ static void l2cap_le_conn_ready(struct l2cap_conn *conn) if (hcon->out) smp_conn_security(hcon, hcon->pending_sec_level); - /* For LE slave connections, make sure the connection interval + /* For LE peripheral connections, make sure the connection interval * is in the range of the minimum and maximum interval that has * been configured for this connection. If not, then trigger * the connection update procedure. |