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

Commit 99b42502 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "Fix misleading "LE Audio capable" log line" into main am: a63a1972 am: 8f5fe1af

parents 56ac8e18 8f5fe1af
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -544,8 +544,12 @@ bool BTA_DmCheckLeAudioCapable(const RawAddress& address) {
       inq_ent = get_btm_client_interface().db.BTM_InqDbNext(inq_ent)) {
    if (inq_ent->results.remote_bd_addr != address) continue;

    if (inq_ent->results.ble_ad_is_le_audio_capable) {
      LOG_INFO("Device is LE Audio capable based on AD content");
    return inq_ent->results.ble_ad_is_le_audio_capable;
      return true;
    }

    return false;
  }
  return false;
}