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
DO NOT MERGE Fix length for L2CAP config type EXT FLOW
[android-x86/system-bt.git]
/
stack
/
l2cap
/
l2c_main.c
diff --git
a/stack/l2cap/l2c_main.c
b/stack/l2cap/l2c_main.c
index
ac74497
..
92e92ca
100644
(file)
--- a/
stack/l2cap/l2c_main.c
+++ b/
stack/l2cap/l2c_main.c
@@
-566,7
+566,7
@@
static void process_l2cap_cmd (tL2C_LCB *p_lcb, UINT8 *p, UINT16 pkt_len)
case L2CAP_CFG_TYPE_EXT_FLOW:
cfg_info.ext_flow_spec_present = TRUE;
- if (cfg_len !=
1
+ 2 + 3 * 4) {
+ if (cfg_len !=
2
+ 2 + 3 * 4) {
android_errorWriteLog(0x534e4554, "119870451");
return;
}