diff options
-rw-r--r-- | src/osmo-bts-sysmo/oml.c | 6 |
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; } |