OSDN Git Service

Bluetooth: Update management interface revision
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 27 Mar 2012 16:49:02 +0000 (18:49 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:36 +0000 (00:41 -0300)
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.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c

index 4bb0a13..d08edad 100644 (file)
@@ -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,