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

Commit 26d726b9 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

Change-Id: Ia00f72da7828d35952ad01c023ad861d8e81813e
parents e6d27cc5 e9cce272
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) {