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

Commit 6cd9a9b2 authored by Chris Manton's avatar Chris Manton Committed by Gerrit Code Review
Browse files

Merge "Properly init bta::av::bta_av_aact message structures 16/20"

parents 1112627a fcc2041b
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -2638,12 +2638,14 @@ void bta_av_rcfg_str_ok(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) {

  {
    /* reconfigure success  */
    tBTA_AV_RECONFIG reconfig;
    reconfig.status = BTA_AV_SUCCESS;
    reconfig.chnl = p_scb->chnl;
    reconfig.hndl = p_scb->hndl;
    tBTA_AV bta_av_data;
    bta_av_data.reconfig = reconfig;
    tBTA_AV bta_av_data = {
        .reconfig =
            {
                .chnl = p_scb->chnl,
                .hndl = p_scb->hndl,
                .status = BTA_AV_SUCCESS,
            },
    };
    (*bta_av_cb.p_cback)(BTA_AV_RECONFIG_EVT, &bta_av_data);
  }
}