lkml.org 
[lkml]   [2021]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 1/8] Bluetooth: use inclusive language in HCI role
    From
    Date
    Hi Archie,

    > 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 -> central
    > slave -> peripheral
    >
    > Signed-off-by: Archie Pusaka <apusaka@chromium.org>
    > Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    >
    > ---
    >
    > Changes in v2:
    > * Add details in commit message
    >
    > include/net/bluetooth/hci.h | 6 +++---
    > include/net/bluetooth/hci_core.h | 4 ++--
    > net/bluetooth/amp.c | 2 +-
    > net/bluetooth/hci_conn.c | 30 +++++++++++++++---------------
    > net/bluetooth/hci_core.c | 6 +++---
    > net/bluetooth/hci_event.c | 20 ++++++++++----------
    > net/bluetooth/l2cap_core.c | 12 ++++++------
    > net/bluetooth/smp.c | 20 ++++++++++----------
    > 8 files changed, 50 insertions(+), 50 deletions(-)
    >
    > diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
    > index c4b0650fb9ae..18742f4471ff 100644
    > --- a/include/net/bluetooth/hci.h
    > +++ b/include/net/bluetooth/hci.h
    > @@ -515,7 +515,7 @@ enum {
    >
    > /* Link modes */
    > #define HCI_LM_ACCEPT 0x8000
    > -#define HCI_LM_MASTER 0x0001
    > +#define HCI_LM_CENTRAL 0x0001
    > #define HCI_LM_AUTH 0x0002
    > #define HCI_LM_ENCRYPT 0x0004
    > #define HCI_LM_TRUSTED 0x0008

    this is my fault since I overlooked this one. This is also API. Lets skip this for now.

    Regards

    Marcel

    \
     
     \ /
      Last update: 2021-06-02 21:56    [W:3.279 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site