aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-11-23 16:47:39 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-11-23 16:47:39 +0100
commit52fdef79cc56da66d464e122759fda18ce651ebc (patch)
treeafe8964b1c9fa3048e51a54ccabe9a571f737132 /src/common/rsl.c
parentecfb83d3cc1199bf07e5a97e758b060f1d1beb74 (diff)
rsl: Log lchan state during dynts PDCH->TCH
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index b2217548..d4bd2f08 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2201,8 +2201,9 @@ static void rsl_rx_dyn_pdch(struct msgb *msg, bool pdch_act)
if (lchan->state != LCHAN_S_NONE) {
LOGP(DRSL, LOGL_ERROR,
- "%s Request to PDCH %s, but lchan is still active\n",
- gsm_ts_and_pchan_name(ts), pdch_act? "ACT" : "DEACT");
+ "%s Request to PDCH %s, but lchan is still in state %s\n",
+ gsm_ts_and_pchan_name(ts), pdch_act? "ACT" : "DEACT",
+ gsm_lchans_name(lchan->state));
rsl_tx_dyn_pdch_nack(lchan, pdch_act, RSL_ERR_NORMAL_UNSPEC);
}