diff options
-rw-r--r-- | src/common/pcu_sock.c | 6 | ||||
-rw-r--r-- | src/common/rsl.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index cfffb2e6..d52cdb15 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -556,8 +556,10 @@ static int pcu_rx_act_req(struct gsm_bts *bts, lchan = trx->ts[act_req->ts_nr].lchan; lchan->rel_act_kind = LCHAN_REL_ACT_PCU; if (lchan->type != GSM_LCHAN_PDTCH) { - LOGP(DPCU, LOGL_ERROR, "Lchan is not of type PDCH, but %d.\n", - lchan->type); + LOGP(DPCU, LOGL_ERROR, + "%s request, but lchan is not of type PDTCH (is %s)\n", + (act_req->activate) ? "Activate" : "Deactivate", + gsm_lchant_name(lchan->type)); return -EINVAL; } if (act_req->activate) diff --git a/src/common/rsl.c b/src/common/rsl.c index adf17f6b..224a41a2 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -755,7 +755,7 @@ static int rsl_rx_chan_activ(struct msgb *msg) if (lchan->state != LCHAN_S_NONE) { LOGP(DRSL, LOGL_ERROR, - "%s: error lchan is not available state: %s.\n", + "%s: error: lchan is not available, but in state: %s.\n", gsm_lchan_name(lchan), gsm_lchans_name(lchan->state)); return rsl_tx_chan_act_nack(lchan, RSL_ERR_EQUIPMENT_FAIL); } |