Thread (7 messages) flat view 7 messages, 3 authors, 2011-12-02

Re: [PATCH 2/2] Bluetooth: Remove magic bluetooth version numbers

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2011-11-23 14:48:58

Hi Andrei,
quoted hunk ↗ jump to hunk
Use bluetooth names instead of BT SIG assigned numbers

Signed-off-by: Andrei Emeltchenko <redacted>
---
 include/net/bluetooth/bluetooth.h |    5 +++++
 net/bluetooth/hci_conn.c          |    2 +-
 net/bluetooth/hci_event.c         |    6 +++---
 3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 38cd3da..98ea1b1 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -36,6 +36,11 @@
 #define PF_BLUETOOTH	AF_BLUETOOTH
 #endif
 
+/* Bluetooth versions */
+#define BLUETOOTH_VER_1_1	1
+#define BLUETOOTH_VER_1_2	2
+#define BLUETOOTH_VER_2_0_EDR	3
+
I am fine with the patch, but you need to use BLUETOOTH_VER_2_0 here
since you have have 2.0 without EDR. Have a fun night reading with the
Bluetooth SIG branding guidelines.

Once you did that change, ACK.

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