aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-cscn
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 19:50:37 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 19:51:12 +0200
commit99f2477653c1a1bff85cf0d5f823c4845fb46dc3 (patch)
tree823a3df959b38db2b3482af115503c9c32183d0b /openbsc/src/osmo-cscn
parenta9791df3b90e7458d0356a486df795a1226b046a (diff)
cosmetic: IuCS logging
Diffstat (limited to 'openbsc/src/osmo-cscn')
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c3
-rw-r--r--openbsc/src/osmo-cscn/iucs_ranap.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index 4fe646b73..c66873437 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -332,7 +332,8 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
static int rx_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type,
void *data)
{
- DEBUGP(DIUCS, "got IuCS event %u\n", type);
+ DEBUGP(DIUCS, "got IuCS event %u: %s\n", type,
+ iu_event_type_str(type));
return iucs_rx_ranap_event(cscn_network, ctx, type, data);
}
diff --git a/openbsc/src/osmo-cscn/iucs_ranap.c b/openbsc/src/osmo-cscn/iucs_ranap.c
index 5db29c29e..f88a55242 100644
--- a/openbsc/src/osmo-cscn/iucs_ranap.c
+++ b/openbsc/src/osmo-cscn/iucs_ranap.c
@@ -82,7 +82,7 @@ int iucs_rx_ranap_event(struct gsm_network *network,
conn = subscr_conn_lookup_iu(network, ue_ctx);
if (!conn) {
- LOGP(DRANAP, LOGL_NOTICE, "Cannot find subscriber for IU event %u\n", type);
+ LOGP(DRANAP, LOGL_ERROR, "Cannot find subscriber for IU event %u\n", type);
return -1;
}