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

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

Merge "Add log to is_requesting_sdp()" into main

parents bb117299 40de1e3a
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;
}