Bluetooth: Update management interface revision
Subsystems (2)
Marcel Holtmann
maintainerPATCH 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
@@ -38,7 +38,7 @@ bool enable_hs;bool enable_le;#define MGMT_VERSION 1 -#define MGMT_REVISION 0 +#define MGMT_REVISION 1static const u16 mgmt_commands[] = {MGMT_OP_READ_INDEX_LIST ,
Signature · 1 line
1.7.7.6
Johan Hedberg
AppliedHi 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
Signed-off-by Marcel Holtmann <[email protected]>--- net/bluetooth/mgmt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to the new bluetooth-next tree. Thanks.
Johan