diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-12-19 07:29:07 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-19 08:25:01 -0500 |
commit | 1f8cd0d9d7513d157aea0a93fbe87fde7365d285 (patch) | |
tree | 1fd31a31bd227883d3cdbe595bc4e42ab05c6210 /include/net | |
parent | d85bb264330a375497db9c5fd452038dba4c0ea5 (diff) |
Bluetooth: Fix mgmt_(block,unblock)_device opcodes
This patch fixes the opcodes of the Block/Unblock device commands to
match with what user-space expects and to confirm with the latest mgmt
specification. The reason the values were wrong was a missing Confirm
Name command definition (which will be added by a subsequent patch).
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 9f7a956a2ec3..f4786a853ca3 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -268,12 +268,12 @@ struct mgmt_cp_start_discovery { | |||
268 | 268 | ||
269 | #define MGMT_OP_STOP_DISCOVERY 0x0022 | 269 | #define MGMT_OP_STOP_DISCOVERY 0x0022 |
270 | 270 | ||
271 | #define MGMT_OP_BLOCK_DEVICE 0x0023 | 271 | #define MGMT_OP_BLOCK_DEVICE 0x0024 |
272 | struct mgmt_cp_block_device { | 272 | struct mgmt_cp_block_device { |
273 | bdaddr_t bdaddr; | 273 | bdaddr_t bdaddr; |
274 | } __packed; | 274 | } __packed; |
275 | 275 | ||
276 | #define MGMT_OP_UNBLOCK_DEVICE 0x0024 | 276 | #define MGMT_OP_UNBLOCK_DEVICE 0x0025 |
277 | struct mgmt_cp_unblock_device { | 277 | struct mgmt_cp_unblock_device { |
278 | bdaddr_t bdaddr; | 278 | bdaddr_t bdaddr; |
279 | } __packed; | 279 | } __packed; |