summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-31 17:09:52 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-31 17:09:52 -0800
commit224473bc9f6e7760c19db9b33c9299b791ce1012 (patch)
tree04690405834d32fbb8fb8dfa8ee2a6ac8e0f5cf3 /lib
parente4194a3754d5a9c46ff2afe2b915c9619055ecd4 (diff)
lib: Avoid using HCI_MAX_NAME_LENGTH in management header
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 6c7e44a51..e28005e90 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -79,7 +79,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_NAME_LENGTH (248 + 1)
#define MGMT_MAX_SHORT_NAME_LENGTH (10 + 1)
#define MGMT_SETTING_POWERED 0x00000001