summaryrefslogtreecommitdiffstats
path: root/include/net
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
parentcacaf52f51697f832a26e8fdaa7b8e85785085da (diff)
downloadop-kernel-dev-c059e05353081471908c05029585765614e07cec.zip
op-kernel-dev-c059e05353081471908c05029585765614e07cec.tar.gz
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')
-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 1dbadbe..ac59cdd 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
OpenPOWER on IntegriCloud