]> Pileus Git - ~andy/linux/commitdiff
Bluetooth: Add missing mgmt_confirm_name command definition
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 19 Dec 2011 12:29:08 +0000 (14:29 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 19 Dec 2011 13:25:04 +0000 (11:25 -0200)
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>
include/net/bluetooth/mgmt.h

index f4786a853ca3782fe8d589237b917a82d7d7d764..be65d34178839e6426f245ab64a6f4c55ad3e826 100644 (file)
@@ -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;