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:
ee6b6d0
)
Remove MCB from mapping table when entry is released
author
Pavlin Radoslavov
<pavlin@google.com>
Thu, 3 Mar 2016 21:16:45 +0000
(13:16 -0800)
committer
Pavlin Radoslavov
<pavlin@google.com>
Fri, 4 Mar 2016 00:08:08 +0000
(
00:08
+0000)
Explicitly remove MCB entry from the LCB mapping table when
the entry is released.
Bug:
27334916
Change-Id: I14e3f1f5eeffa33e733c4a116d0a70cd7c06753f
stack/rfcomm/rfc_utils.c
patch
|
blob
|
history
diff --git
a/stack/rfcomm/rfc_utils.c
b/stack/rfcomm/rfc_utils.c
index
9128ccd
..
f324ade
100644
(file)
--- a/
stack/rfcomm/rfc_utils.c
+++ b/
stack/rfcomm/rfc_utils.c
@@
-206,6
+206,9
@@
void rfc_release_multiplexer_channel (tRFC_MCB *p_mcb)
{
void *p_buf;
+ /* Remove the MCB from the mapping table */
+ rfc_save_lcid_mcb(NULL, p_mcb->lcid);
+
rfc_timer_stop (p_mcb);
alarm_free(p_mcb->mcb_timer);