aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-04-07 20:33:04 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-04-07 20:33:04 +0200
commitd59bbd16a753554747adcdec18b5cea28a839604 (patch)
tree82eb41853e039eb97cc1fef6e66b00795643df51
parentf547bee8785e0e89469abc13f7da24fb8b37ba4d (diff)
sysmobts: Add log message in case the channel activation fails
-rw-r--r--src/osmo-bts-sysmo/oml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index 879908e..1543f85 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -936,6 +936,9 @@ static int sapi_activate_cb(struct gsm_lchan *lchan, int status)
/* FIXME: Error handling */
if (status != GsmL1_Status_Success) {
+ LOGP(DL1C, LOGL_ERROR,
+ "%s act failed mark broken due status: %d\n",
+ gsm_lchan_name(lchan), status);
lchan_set_state(lchan, LCHAN_S_BROKEN);
sapi_clear_queue(&lchan->sapi_cmds);
rsl_tx_chan_act_nack(lchan, RSL_ERR_PROCESSOR_OVERLOAD);