From 224473bc9f6e7760c19db9b33c9299b791ce1012 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 31 Dec 2012 17:09:52 -0800 Subject: [PATCH] lib: Avoid using HCI_MAX_NAME_LENGTH in management header --- lib/mgmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3