aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/pcu_sock.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-16 18:53:14 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-17 15:50:48 +0000
commitb231e0f6cd1014afc0121ca056ca92ea467061dd (patch)
treeb81511de0fc02ecd988fbb58fb5eafadf301f8a9 /src/common/pcu_sock.c
parent63b296bdd9a25134ee61ce6f269750e796a8bfca (diff)
error log: two minor clarifications
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r--src/common/pcu_sock.c6
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)