OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4194a3
)
lib: Avoid using HCI_MAX_NAME_LENGTH in management header
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 1 Jan 2013 01:09:52 +0000
(17:09 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 1 Jan 2013 01:09:52 +0000
(17:09 -0800)
lib/mgmt.h
patch
|
blob
|
history
diff --git
a/lib/mgmt.h
b/lib/mgmt.h
index
6c7e44a
..
e28005e
100644
(file)
--- 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