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:
7bc0edd
)
Return the correct status when BTA_AV Open failed because of role switch
author
Pavlin Radoslavov
<pavlin@google.com>
Tue, 12 Sep 2017 18:51:21 +0000
(11:51 -0700)
committer
Andre Eisenbach
<eisenbach@google.com>
Tue, 12 Sep 2017 19:33:43 +0000
(19:33 +0000)
Bug:
65588660
Test: Code compilation
Change-Id: I705ec28c76f2342e18bece193005c962b9febac8
bta/av/bta_av_aact.cc
patch
|
blob
|
history
diff --git
a/bta/av/bta_av_aact.cc
b/bta/av/bta_av_aact.cc
index
24dae6c
..
a270a5f
100644
(file)
--- a/
bta/av/bta_av_aact.cc
+++ b/
bta/av/bta_av_aact.cc
@@
-841,7
+841,7
@@
void bta_av_role_res(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) {
av_open.bd_addr = p_scb->peer_addr;
av_open.chnl = p_scb->chnl;
av_open.hndl = p_scb->hndl;
-
start
.status = BTA_AV_FAIL_ROLE;
+
av_open
.status = BTA_AV_FAIL_ROLE;
if (p_scb->seps[p_scb->sep_idx].tsep == AVDT_TSEP_SRC)
av_open.sep = AVDT_TSEP_SNK;
else if (p_scb->seps[p_scb->sep_idx].tsep == AVDT_TSEP_SNK)