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

Commit d5e1327a authored by Pomai Ahlo's avatar Pomai Ahlo Committed by Gerrit Code Review
Browse files

Merge "Add log to btif connection logger" into main

parents f2a2180e 6dd56f42
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -55,6 +55,8 @@ static android::bluetooth::SocketRoleEnum toSocketRoleEnum(int role);
void btif_sock_connection_logger(const RawAddress& address, int port, int type, int state, int role,
                                 int uid, int server_port, int64_t tx_bytes, int64_t rx_bytes,
                                 const char* server_name) {
  log::verbose("bd_addr: {}, port: {}, role: {}, state: {}", address, port, role, state);

  uint8_t index = logger_index++ % SOCK_LOGGER_SIZE_MAX;

  connection_logger[index] = {