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

Commit d1fd446b authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

btif_sock: Fix the wrong log info

Bug: 281925900
Test: CQ
Change-Id: I29de0b04c0cd24d5a2a69f26366e80aa8e0f3e59
parent f1f17346
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -157,7 +157,7 @@ void btif_sock_cleanup(void) {
}
}


void btif_sock_connection_logger(int state, int role, const RawAddress& addr) {
void btif_sock_connection_logger(int state, int role, const RawAddress& addr) {
  LOG_INFO("address=%s, role=%d, state=%d", ADDRESS_TO_LOGGABLE_CSTR(addr),
  LOG_INFO("address=%s, state=%d, role=%d", ADDRESS_TO_LOGGABLE_CSTR(addr),
           state, role);
           state, role);


  uint8_t index = logger_index++ % SOCK_LOGGER_SIZE_MAX;
  uint8_t index = logger_index++ % SOCK_LOGGER_SIZE_MAX;