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

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

btm_log_history: Remove get_connection_state entry am: 55ec8b53

parents 3314f016 55ec8b53
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -922,13 +922,6 @@ uint16_t btif_dm_get_connection_state(const RawAddress& bd_addr) {
    log::info("Acl is not connected to peer:{}",
              ADDRESS_TO_LOGGABLE_CSTR(bd_addr));
  }

  BTM_LogHistory(
      kBtmLogTag, bd_addr, "Get connection state",
      base::StringPrintf("connected:%c classic_encrypted:%c le_encrypted:%c",
                         (rc & (int)true) ? 'T' : 'F',
                         (rc & ENCRYPTED_BREDR) ? 'T' : 'F',
                         (rc & ENCRYPTED_LE) ? 'T' : 'F'));
  return rc;
}

@@ -944,13 +937,6 @@ static uint16_t btif_dm_get_resolved_connection_state(
      if (BTM_IsEncrypted(ble_bd_addr.bda, BT_TRANSPORT_LE)) {
        rc |= ENCRYPTED_LE;
      }

      BTM_LogHistory(
          kBtmLogTag, ble_bd_addr.bda, "RESOLVED connection state",
          base::StringPrintf(
              "connected:%c classic_encrypted:%c le_encrypted:%c",
              (rc & 0x0001) ? 'T' : 'F', (rc & ENCRYPTED_BREDR) ? 'T' : 'F',
              (rc & ENCRYPTED_LE) ? 'T' : 'F'));
    }
  }
  return rc;