Thread (22 messages) 22 messages, 4 authors, 2021-05-31

Re: [PATCH 06/12] Bluetooth: use inclusive language in RFCOMM

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-05-26 15:08:01
Also in: lkml, netdev

Hi Archie,
quoted hunk ↗ jump to hunk
Use "central" and "peripheral".

Signed-off-by: Archie Pusaka <redacted>
Reviewed-by: Miao-chen Chou <redacted>

---

include/net/bluetooth/rfcomm.h | 2 +-
net/bluetooth/rfcomm/sock.c    | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h
index 99d26879b02a..6472ec0053b9 100644
--- a/include/net/bluetooth/rfcomm.h
+++ b/include/net/bluetooth/rfcomm.h
@@ -290,7 +290,7 @@ struct rfcomm_conninfo {
};

#define RFCOMM_LM	0x03
-#define RFCOMM_LM_MASTER	0x0001
+#define RFCOMM_LM_CENTRAL	0x0001
#define RFCOMM_LM_AUTH		0x0002
#define RFCOMM_LM_ENCRYPT	0x0004
#define RFCOMM_LM_TRUSTED	0x0008
I am not planning to accept this change any time soon since this is also in the libbluetooth API.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help