diff options
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 6 |
1 files changed, 4 insertions, 2 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) |