pespin submitted this change.
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(-)
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. */
To view, visit change 27884. To unsubscribe, or for help writing mail filters, visit settings.