Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6f3ef24 authored by Chris Manton's avatar Chris Manton
Browse files

[13/19] get_btm_client_interface().peer.BTM_ReadRemoteFeatures

Bug: 343772702
Test: m .
Flag: EXEMPT, Mechanical Refactor

Change-Id: Ib7386bfd0335e863d60c808385828e79d2a1f7d9
parent 22dbc318
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1255,7 +1255,8 @@ void bta_av_str_opened(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) {

    L2CA_SetMediaStreamChannel(p_scb->l2c_cid, true);

    p = BTM_ReadRemoteFeatures(p_scb->PeerAddress());
    p = get_btm_client_interface().peer.BTM_ReadRemoteFeatures(
        p_scb->PeerAddress());
    if (p != NULL) {
      if (HCI_EDR_ACL_2MPS_SUPPORTED(p)) open.edr |= BTA_AV_EDR_2MBPS;
      if (HCI_EDR_ACL_3MPS_SUPPORTED(p)) {