summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg2012-02-22 18:19:09 +0100
committerJohan Hedberg2012-02-23 12:07:00 +0100
commit490c5baba7a5ad80782d5eb778638d1cfc8d70ce (patch)
treee1963394e3f36165db4ce71fcd768f3b792c8495 /include/net/bluetooth/mgmt.h
parentBluetooth: Send management event for class of device changes (diff)
downloadkernel-qcow2-linux-490c5baba7a5ad80782d5eb778638d1cfc8d70ce.tar.gz
kernel-qcow2-linux-490c5baba7a5ad80782d5eb778638d1cfc8d70ce.tar.xz
kernel-qcow2-linux-490c5baba7a5ad80782d5eb778638d1cfc8d70ce.zip
Bluetooth: Add hdev->short_name for EIR generation
It's possible to provide a short name through the mgmt interface and this name can be used for EIR generation when the full name doesn't fit there. This patch adds the preliminary tracking of the provided short name. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index ac59cdd0fa1b..495668c77fb6 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -75,7 +75,7 @@ struct mgmt_rp_read_index_list {
/* Reserve one extra byte for names in management messages so that they
* are always guaranteed to be nul-terminated */
#define MGMT_MAX_NAME_LENGTH (HCI_MAX_NAME_LENGTH + 1)
-#define MGMT_MAX_SHORT_NAME_LENGTH (10 + 1)
+#define MGMT_MAX_SHORT_NAME_LENGTH (HCI_MAX_SHORT_NAME_LENGTH + 1)
#define MGMT_SETTING_POWERED 0x00000001
#define MGMT_SETTING_CONNECTABLE 0x00000002