OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HIDD: Check descriptor length and increase buffer
[android-x86/system-bt.git]
/
stack
/
include
/
hiddefs.h
diff --git
a/stack/include/hiddefs.h
b/stack/include/hiddefs.h
index
8df616c
..
df01e7d
100644
(file)
--- a/
stack/include/hiddefs.h
+++ b/
stack/include/hiddefs.h
@@
-131,6
+131,8
@@
typedef struct desc_info {
#define HID_SSR_PARAM_INVALID 0xffff
+#define HIDD_APP_DESCRIPTOR_LEN 2048
+
typedef struct sdp_info {
char svc_name[HID_MAX_SVC_NAME_LEN]; /*Service Name */
char svc_descr[HID_MAX_SVC_DESCR_LEN]; /*Service Description*/