aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/abis_rsl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-04-26 19:42:19 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-26 19:43:36 +0200
commitfda74ee055d726b3c965c2b8d7a4edc133ee04ff (patch)
tree95aaf85de1f0a51bf6d3b8c07b6c9f8464418e87 /openbsc/src/libbsc/abis_rsl.c
parent6e8dcf304c25bf29896ccb151b5a4fda9eb7c94a (diff)
RSL add debug statements when sending RSL EST REQ and RSL REL REQ.
Diffstat (limited to 'openbsc/src/libbsc/abis_rsl.c')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index d2bae91b9..9b3658ecf 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -783,6 +783,9 @@ int rsl_establish_request(struct gsm_lchan *lchan, uint8_t link_id)
link_id, 0);
msg->dst = lchan->ts->trx->rsl_link;
+ DEBUGP(DRLL, "%s RSL RLL ESTABLISH REQ (link_id=0x%02x)\n",
+ gsm_lchan_name(lchan), link_id);
+
return abis_rsl_sendmsg(msg);
}
@@ -805,6 +808,9 @@ int rsl_release_request(struct gsm_lchan *lchan, uint8_t link_id, uint8_t reason
msg->dst = lchan->ts->trx->rsl_link;
+ DEBUGP(DRLL, "%s RSL RLL RELEASE REQ (link_id=0x%02x, reason=%u)\n",
+ gsm_lchan_name(lchan), link_id, reason);
+
return abis_rsl_sendmsg(msg);
}