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

Commit e113cc53 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Re-log stack/btm/btm_sco.::btm_sco_removed am: abd878e1

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1539058

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6603d6e1bf0ffda4fa33ed25d4a7b95c4dd80ef3
parents 4c049898 abd878e1
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -789,8 +789,8 @@ void BTM_RemoveSco(const RawAddress& bda) {
 *
 * Function         btm_sco_removed
 *
 * Description      This function is called by BTIF when an SCO connection
 *                  is removed.
 * Description      This function is called by lower layers when an
 *                  disconnect is received.
 *
 * Returns          true if the link is known about, else false
 *
@@ -811,7 +811,8 @@ bool btm_sco_removed(uint16_t hci_handle, uint8_t reason) {
      p->esco.p_esco_cback = NULL; /* Deregister eSCO callback */
      btm_cb.sco_cb.sco_disc_reason = reason;
      (*p->p_disc_cb)(xx);

      LOG_DEBUG("Disconnected SCO link handle:%hu reason:%s", hci_handle,
                hci_error_code_text(reason).c_str());
      return true;
    }
  }