pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27884 )
Change subject: paging: Log skip paging due to not enough free channels ......................................................................
paging: Log skip paging due to not enough free channels
Change-Id: I311f90be99c4561b45f99ce98533aab5909301d0 --- M src/osmo-bsc/paging.c 1 file changed, 6 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved fixeria: Looks good to me, but someone else must approve osmith: Looks good to me, but someone else must approve
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c index bf2629d..898fa95 100644 --- a/src/osmo-bsc/paging.c +++ b/src/osmo-bsc/paging.c @@ -208,9 +208,12 @@ struct gsm_paging_request, entry);
/* we need to determine the number of free channels */ - if (paging_bts->free_chans_need != -1) { - if (can_send_pag_req(request->bts, request->chan_type) != 0) - goto skip_paging; + if (paging_bts->free_chans_need != -1 && + can_send_pag_req(request->bts, request->chan_type) != 0) { + LOG_PAGING_BTS(request, request->bts, DPAG, LOGL_INFO, + "Paging delayed: not enough free channels (<%d)\n", + paging_bts->free_chans_need); + goto skip_paging; }
/* Skip paging if the bts is down. */