aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/paging.c
diff options
context:
space:
mode:
authorKirill Zakharenko <earwin@gmail.com>2020-06-06 02:22:54 +0300
committerKirill Zakharenko <earwin@gmail.com>2020-06-06 02:22:54 +0300
commitcc871b5d2fe8357b2309787d2566fd129de9b090 (patch)
tree930ef9729b141f61810f2bc530b3abd6c616a3df /src/osmo-bsc/paging.c
parentd3cb71b5510476f6f8aed1b3e9e5585dac317b5e (diff)
parentf7e70b5228affca2dfa2ce1fac57195acd06d0b9 (diff)
Merge fairwaves/stats-work into master
Diffstat (limited to 'src/osmo-bsc/paging.c')
-rw-r--r--src/osmo-bsc/paging.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 7b89dad9b..22e572a6b 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -59,12 +59,6 @@ void *tall_paging_ctx = NULL;
#define PAGING_TIMER 0, 500000
/*
- * TODO MSCSPLIT: the paging in libbsc is closely tied to MSC land in that the
- * MSC realm callback functions used to be invoked from the BSC/BTS level. So
- * this entire file needs to be rewired for use with an A interface.
- */
-
-/*
* Kill one paging request update the internal list...
*/
static void paging_remove_request(struct gsm_bts_paging_state *paging_bts,
@@ -441,7 +435,9 @@ void paging_request_stop(struct llist_head *bts_list,
/* Sort of an optimization. */
if (bts == _bts)
continue;
- _paging_request_stop(bts, bsub, NULL, NULL);
+ if (_paging_request_stop(bts, bsub, NULL, NULL) == 0) {
+ rate_ctr_inc(&bts->bts_ctrs->ctr[BTS_CTR_PAGING_RESPONDED_ELSEWHERE]);
+ }
}
log_set_context(LOG_CTX_BSC_SUBSCR, NULL);
}