summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-21 11:14:26 +0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-21 14:42:54 +0400
commitc059e05353081471908c05029585765614e07cec (patch)
treed2fab41a5aa24b76c6d1d13f08dfba020a57caf1 /include/net/bluetooth/mgmt.h
parentcacaf52f51697f832a26e8fdaa7b8e85785085da (diff)
downloadlinux-c059e05353081471908c05029585765614e07cec.tar.xz
Bluetooth: Fix parameter list for setting local name
The parameter list for setting the local name via management interface was missing the short name parameter. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 1dbadbe14785..ac59cdd0fa1b 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -135,6 +135,7 @@ struct mgmt_cp_set_dev_class {
#define MGMT_OP_SET_LOCAL_NAME 0x000F
struct mgmt_cp_set_local_name {
__u8 name[MGMT_MAX_NAME_LENGTH];
+ __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH];
} __packed;
#define MGMT_OP_ADD_UUID 0x0010