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

Commit 40de1e3a authored by Pomai Ahlo's avatar Pomai Ahlo
Browse files

Add log to is_requesting_sdp()

Bug: 295023364
Test: m Bluetooth
Flag: EXEMPT log only change
Change-Id: Ib3c2a2397d5c2fc1df874465d2ef508d0bcd46e1
parent 98499bd9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -171,7 +171,10 @@ static rfc_slot_t* find_rfc_slot_by_pending_sdp(void) {

static bool is_requesting_sdp(void) {
  for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i)
    if (rfc_slots[i].id && rfc_slots[i].f.doing_sdp_request) return true;
    if (rfc_slots[i].id && rfc_slots[i].f.doing_sdp_request) {
      LOG_INFO("slot id %u is doing sdp request", rfc_slots[i].id);
      return true;
    }
  return false;
}