]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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, 28 Mar 2012 15:29:00 +0000 (12:29 -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 79b0ae2891ba2db882e305398670b5dfefee173b..5a56e0cddef7fcac6c5fc9ea4071f5a4c3cd0a01 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,