aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-25 16:57:02 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-25 16:57:02 +0200
commite851e134134b37113adc82d052bb5ba7e227797d (patch)
tree67b360643b9ecff0d5a57953e75f7bb38a30b6e1 /src/osmo-bts-sysmo/oml.c
parentd57e67e8da3726ba1caf787f639c7c0cfb9f8b09 (diff)
lchan: Print the name of the channel already in release request
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r--src/osmo-bts-sysmo/oml.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index bd73f647..c09b3f31 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -1472,8 +1472,12 @@ int bts_model_rsl_chan_act(struct gsm_lchan *lchan, struct tlv_parsed *tp)
int bts_model_rsl_chan_rel(struct gsm_lchan *lchan)
{
/* A duplicate RF Release Request, ignore it */
- if (lchan->state == LCHAN_S_REL_REQ)
+ if (lchan->state == LCHAN_S_REL_REQ) {
+ LOGP(DL1C, LOGL_ERROR, "%s already in release request state.\n",
+ gsm_lchan_name(lchan));
return 0;
+ }
+
lchan_deactivate(lchan);
return 0;
}