From 9c295257a0c45f9fc0306c75ef442edc955bff0a Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 29 Oct 2018 18:38:09 +0100 Subject: handover_fsm: fix failure logging of uninitialized chan mode The chan mode is figured out per-BTS, but may remain uninitialized. Rather log info about the channel request, like further above. Change-Id: I07b89b6101879fb7c070c87be9bd38cc05ffa0b1 --- src/osmo-bsc/handover_fsm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/osmo-bsc/handover_fsm.c') diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c index a45e33b78..0107ef03c 100644 --- a/src/osmo-bsc/handover_fsm.c +++ b/src/osmo-bsc/handover_fsm.c @@ -592,9 +592,8 @@ void handover_start_inter_bsc_in(struct gsm_subscriber_connection *conn, } if (!ho->new_lchan) { - ho_fail(HO_RESULT_ERROR, "No free/matching lchan found for %s %s %s\n", - req->cell_id_target_name, - gsm48_chan_mode_name(mode), full_rate ? "full-rate" : "half-rate"); + ho_fail(HO_RESULT_ERROR, "No free/matching lchan found for %s %s (speech codec list len = %u)", + req->cell_id_target_name, gsm0808_channel_type_name(&req->ct), req->scl.len); return; } -- cgit v1.2.3