system/bt
リビジョン | c66e70b61466e33f9ac898d5330552bb729cf5ea (tree) |
---|---|
日時 | 2019-10-08 07:46:46 |
作者 | android-build-team Robot <android-build-team-robot@goog...> |
コミッター | android-build-team Robot |
Merge cherrypicks of [9514600, 9517315, 9517610, 9517666] into sparse-5908172-L30000000374561275
Change-Id: Ib452860b94258dd57b631af4c3b2846eaff8ef91
@@ -1108,8 +1108,10 @@ bool bta_av_link_role_ok(tBTA_AV_SCB* p_scb, uint8_t bits) { | ||
1108 | 1108 | "%s: peer %s BTM_SwitchRole(BTM_ROLE_MASTER) error: %d", |
1109 | 1109 | __func__, p_scb->PeerAddress().ToString().c_str(), status); |
1110 | 1110 | } |
1111 | - is_ok = false; | |
1112 | - p_scb->wait |= BTA_AV_WAIT_ROLE_SW_RES_START; | |
1111 | + if (status != BTM_DEV_BLACKLISTED) { | |
1112 | + is_ok = false; | |
1113 | + p_scb->wait |= BTA_AV_WAIT_ROLE_SW_RES_START; | |
1114 | + } | |
1113 | 1115 | } |
1114 | 1116 | } |
1115 | 1117 |