summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-03-27 18:49:02 +0200
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 00:41:36 -0300
commit053262dce5a0cc503456d15e204cde205dcf927e (patch)
tree34bff85df374ffa5d086b2b44616dd826dcf5d2e /net/bluetooth/mgmt.c
parenteef1d9b668c51dcae58d8bb41ce0c805f866dbbd (diff)
downloadop-kernel-dev-053262dce5a0cc503456d15e204cde205dcf927e.zip
op-kernel-dev-053262dce5a0cc503456d15e204cde205dcf927e.tar.gz
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. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 4bb0a13..d08edad 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -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,
OpenPOWER on IntegriCloud