OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71bdd6
)
Add missing initialization of queue btm_cb.sec_pending_q
author
Pavlin Radoslavov
<pavlin@google.com>
Mon, 21 Mar 2016 23:35:41 +0000
(16:35 -0700)
committer
Pavlin Radoslavov
<pavlin@google.com>
Tue, 22 Mar 2016 01:38:02 +0000
(
01:38
+0000)
Bug:
27763878
Change-Id: I93001a679e22b744c3feafda1997e5f7e707db4e
stack/btm/btm_main.c
patch
|
blob
|
history
diff --git
a/stack/btm/btm_main.c
b/stack/btm/btm_main.c
index
7f3534e
..
dd49f97
100644
(file)
--- a/
stack/btm/btm_main.c
+++ b/
stack/btm/btm_main.c
@@
-51,6
+51,7
@@
void btm_init (void)
/* All fields are cleared; nonzero fields are reinitialized in appropriate function */
memset(&btm_cb, 0, sizeof(tBTM_CB));
btm_cb.page_queue = fixed_queue_new(SIZE_MAX);
+ btm_cb.sec_pending_q = fixed_queue_new(SIZE_MAX);
btm_cb.sec_collision_timer = alarm_new("btm.sec_collision_timer");
btm_cb.pairing_timer = alarm_new("btm.pairing_timer");