aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-26 17:08:17 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-26 17:08:17 +0200
commit58e01af8657524c687ac864744738e98981e2271 (patch)
tree429c38db47ae3136bf358f9adafc8c832a993dbb
parentfc3bcee00fab502d7ecfa78b8078f83d12557cc4 (diff)
bsc_subscr_conn_fsm: Log Tx of BSSMAP Clear Request with cause
-rw-r--r--src/osmo-bsc/bsc_subscr_conn_fsm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 0830dee..bc5cb27 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -133,8 +133,12 @@ int gscon_sigtran_send(struct gsm_subscriber_connection *conn, struct msgb *msg)
static void gscon_bssmap_clear(struct gsm_subscriber_connection *conn,
enum gsm0808_cause cause)
{
- struct msgb *resp = gsm0808_create_clear_rqst(cause);
+
+ struct msgb *resp;
int rc;
+
+ LOGPFSML(conn->fi, LOGL_DEBUG, "Tx BSSMAP CLEAR REQUEST(%s) to MSC\n", gsm0808_cause_name(cause));
+ resp = gsm0808_create_clear_rqst(cause);
if (!resp) {
LOGPFSML(conn->fi, LOGL_ERROR, "Unable to compose BSSMAP Clear Request message\n");
return;