Skip to content

Commit

Permalink
Bluetooth: Add missing mgmt_confirm_name command definition
Browse files Browse the repository at this point in the history
This patch adds the necessary structs for the Confirm Name command. This
ensures that the protocol definitions are up to date with the latest
mgmt specification. The actual implementation of the command will follow
in a later patch-set.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Johan Hedberg authored and Gustavo F. Padovan committed Dec 19, 2011
1 parent 1f8cd0d commit 4dad999
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ struct mgmt_cp_start_discovery {

#define MGMT_OP_STOP_DISCOVERY 0x0022

#define MGMT_OP_CONFIRM_NAME 0x0023
struct mgmt_cp_confirm_name {
bdaddr_t bdaddr;
__u8 name_known;
} __packed;
struct mgmt_rp_confirm_name {
bdaddr_t bdaddr;
__u8 status;
} __packed;

#define MGMT_OP_BLOCK_DEVICE 0x0024
struct mgmt_cp_block_device {
bdaddr_t bdaddr;
Expand Down

0 comments on commit 4dad999

Please sign in to comment.