Skip to contentSkip to conversation

Bluetooth: Update management interface revision

PATCH Applied Marcel Holtmann 2 participants 2 messages Mar 27, 2012

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/1 Bluetooth: Update management interface revision

For each kernel release where commands or events are added to the management interface, the revision field should be increment by one.

The increment should only happen once per kernel release and not for every command/event that gets added. The revision value is for informational purposes only, but this simple policy would make any future debugging a lot simple.

---
 net/bluetooth/mgmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/bluetooth/mgmt.c +1 -1
index 79b0ae2..5a56e0c 100644
@@ -38,7 +38,7 @@ bool enable_hs;
 bool enable_le;
 
 #define MGMT_VERSION	1
-#define MGMT_REVISION	0
+#define MGMT_REVISION	1
 
 static const u16 mgmt_commands[] = {
 	MGMT_OP_READ_INDEX_LIST,
Signature · 1 line
1.7.7.6
#1 lore raw

Hi Marcel,

Quoted 8 lines · Marcel Holtmann

For each kernel release where commands or events are added to the management interface, the revision field should be increment by one.

The increment should only happen once per kernel release and not for every command/event that gets added. The revision value is for informational purposes only, but this simple policy would make any future debugging a lot simple.

Quoted 4 lines
---
 net/bluetooth/mgmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to the new bluetooth-next tree. Thanks.

Johan