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

Commit 762089d4 authored by Cheney Ni's avatar Cheney Ni Committed by android-build-merger
Browse files

Merge "A2DP: don't write data to none started AVDT SCB" am: e9cce272

am: 26d726b9

Change-Id: I821cc5dccade9017fce6a433ce058c996ed2f886
parents 0b301bdb 26d726b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2102,6 +2102,8 @@ void bta_av_data_path(tBTA_AV_SCB* p_scb, UNUSED_ATTR tBTA_AV_DATA* p_data) {
  uint8_t m_pt = 0x60;
  tAVDT_DATA_OPT_MASK opt;

  if (!p_scb->started) return;

  if (p_scb->cong) return;

  if (p_scb->use_rtp_header_marker_bit) {