aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c2
-rw-r--r--tests/bssap/bssap_test.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 3cd605129..6eba3590a 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -260,6 +260,8 @@ page_subscriber(struct bsc_msc_data *msc, struct gsm_bts *bts,
bts->nr, mi_string, tmsi, tmsi, lac);
ret = bsc_grace_paging_request(msc->network->bsc_data->rf_ctrl->policy, subscr, chan_needed, msc, bts);
+ if (!ret)
+ LOGP(DMSC, LOGL_ERROR, "Paging request not handled!\n");
/* the paging code has grabbed its own references */
bsc_subscr_put(subscr);
diff --git a/tests/bssap/bssap_test.c b/tests/bssap/bssap_test.c
index 5601e29a1..0cbf34a35 100644
--- a/tests/bssap/bssap_test.c
+++ b/tests/bssap/bssap_test.c
@@ -50,7 +50,7 @@ int __wrap_bsc_grace_paging_request(enum signal_rf rf_policy, struct bsc_subscr
else
fprintf(stderr, "BSC paging started with LAC %u\n", subscr->lac);
OSMO_ASSERT(gl_expect_lac == subscr->lac);
- return 0;
+ return 1;
}
struct {