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

Commit a63a1972 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Fix misleading "LE Audio capable" log line" into main

parents 16dd9b05 5cb180e7
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;
}