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
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index a45e33b..0107ef0 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -592,9 +592,8 @@
}
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;
}