aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-21 08:14:26 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-21 12:42:54 +0200
commitc059e05353081471908c05029585765614e07cec (patch)
treed2fab41a5aa24b76c6d1d13f08dfba020a57caf1 /include/net/bluetooth
parentBluetooth: mgmt: Clear EIR data when disabling SSP (diff)
downloadlinux-dev-c059e05353081471908c05029585765614e07cec.tar.xz
linux-dev-c059e05353081471908c05029585765614e07cec.zip
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')
-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