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

Re: [PATCH 05/12] Bluetooth: use inclusive language in L2CAP

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-05-26 15:13: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/l2cap.h | 2 +-
net/bluetooth/l2cap_sock.c    | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 3c4f550e5a8b..1f5ed6b163af 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -89,7 +89,7 @@ struct l2cap_conninfo {
};

#define L2CAP_LM	0x03
-#define L2CAP_LM_MASTER		0x0001
+#define L2CAP_LM_CENTRAL	0x0001
#define L2CAP_LM_AUTH		0x0002
#define L2CAP_LM_ENCRYPT	0x0004
#define L2CAP_LM_TRUSTED	0x0008
same as with the RFCOMM change, this is something I am not prepared to do right now since it touches 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