aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-10-29 18:38:09 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-10-29 18:39:46 +0100
commit9c295257a0c45f9fc0306c75ef442edc955bff0a (patch)
tree57a835948788283ba3f171c17077290f226333b7
parent258d12f188d07ad69f1a7b0f035d8b8a6676de8e (diff)
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
-rw-r--r--src/osmo-bsc/handover_fsm.c5
1 files changed, 2 insertions, 3 deletions
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;
}