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

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

Merge "BluetoothAudioHAL: MTU not exceed an AVDTP packet"

parents 32653a19 9d0cc451
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -280,6 +280,9 @@ bool a2dp_get_selected_hal_codec_config(CodecConfiguration* codec_config) {
  } else {
  } else {
    codec_config->peerMtu = peer_param.peer_mtu;
    codec_config->peerMtu = peer_param.peer_mtu;
  }
  }
  if (codec_config->peerMtu > MAX_3MBPS_AVDTP_MTU) {
    codec_config->peerMtu = MAX_3MBPS_AVDTP_MTU;
  }
  LOG(INFO) << __func__ << ": CodecConfiguration=" << toString(*codec_config);
  LOG(INFO) << __func__ << ": CodecConfiguration=" << toString(*codec_config);
  return true;
  return true;
}
}