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

Commit c05a2629 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add a missing error check when processing AVDT_RECONFIG_CFM_EVT event"

parents 1c4cdfe6 3f346b38
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -449,6 +449,7 @@ static void bta_av_proc_stream_evt(uint8_t handle, BD_ADDR bd_addr,
      /* copy config params to event message buffer */
      switch (event) {
        case AVDT_RECONFIG_CFM_EVT:
          if (p_msg->msg.hdr.err_code == 0) {
            APPL_TRACE_DEBUG(
              "%s: reconfig cfm event codec info = 0x%06x-%06x-%06x-%02x",
              __func__,
@@ -462,6 +463,7 @@ static void bta_av_proc_stream_evt(uint8_t handle, BD_ADDR bd_addr,
                  (p_msg->msg.reconfig_cfm.p_cfg->codec_info[7] << 8) +
                  p_msg->msg.reconfig_cfm.p_cfg->codec_info[8],
              p_msg->msg.reconfig_cfm.p_cfg->codec_info[9]);
          }
          break;

        case AVDT_CONFIG_IND_EVT: