diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-26 18:51:03 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-26 18:51:05 +0200 |
commit | bc893d3e14a26c88f9cca50d3bbb4d312e04a6f1 (patch) | |
tree | 0aebe128018f35de0ae522926c996f144fc5ba24 /src/osmo-bsc/osmo_bsc_bssap.c | |
parent | a9e4268a0ab2ce39c5cd8b77fd30688727fbbf1f (diff) |
bssap: Log non handled paging requests
Return code in bssap_test is changed to ack it was sent and prevent the
log from being printed.
Change-Id: Ie8075d076cc34570fefce3beb577567707a29d4e
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_bssap.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_bssap.c | 2 |
1 files changed, 2 insertions, 0 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); |