diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-12-10 01:47:54 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-04-04 16:20:34 +0000 |
commit | 45c72350b345efbbcf4b5dc42ed971fb77b4a418 (patch) | |
tree | 0bb3e54891978f77530ae5c5c3ecf3e05bd3fd9b | |
parent | 1823f89c1eae49960d036d2a48abf0de6a3add8d (diff) |
debug log, lchan_fsm: explain leaving wait_rll_rtp_establish state
Before, it is not clear whether the RTP is already done setting up or
the RTP is skipped entirely. This log message clarifies that.
Change-Id: I18ffcf93e82ee47413e4b2f741ffbfbb18322e1d
-rw-r--r-- | src/osmo-bsc/lchan_fsm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c index 9c7ecaf48..6f0fd63da 100644 --- a/src/osmo-bsc/lchan_fsm.c +++ b/src/osmo-bsc/lchan_fsm.c @@ -861,8 +861,13 @@ static void lchan_fsm_wait_rll_rtp_establish(struct osmo_fsm_inst *fi, uint32_t case LCHAN_EV_RLL_ESTABLISH_IND: if (!lchan->activate.info.requires_voice_stream - || lchan_rtp_established(lchan)) + || lchan_rtp_established(lchan)) { + LOG_LCHAN(lchan, LOGL_DEBUG, + "%s\n", + (lchan->activate.info.requires_voice_stream ? + "RTP already established earlier" : "no voice stream required")); lchan_fsm_state_chg(LCHAN_ST_ESTABLISHED); + } return; case LCHAN_EV_RTP_READY: |