aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-08-29 15:31:45 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2023-08-31 11:02:03 +0200
commitd2d938c2615bd99d3c4681a8113bf546938cc9b3 (patch)
treec28c7b2f3169ebcb4ed74f02402a8c024d452103
parentf20e13d16081ee31054d5ed4add64edf7b3fbfc4 (diff)
pcu_sock: print SAPI and msg_id when sending confirmation
At the moment we do not print the SAPI, nor the msg_id when we send a confirmation back to the PCU Change-Id: Ibd5b4225e597b69eaabaeee437fb637943a55602 elated: OS#5927
-rw-r--r--src/common/pcu_sock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index e1004641..f99c7d22 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -628,7 +628,8 @@ int pcu_tx_data_cnf(uint32_t msg_id, uint8_t sapi)
/* FIXME: allow multiple BTS */
bts = llist_entry(g_bts_sm->bts_list.next, struct gsm_bts, list);
- LOGP(DPCU, LOGL_DEBUG, "Sending PCH confirm\n");
+ LOGP(DPCU, LOGL_DEBUG, "Sending DATA.cnf: sapi=%s msg_id=%08x\n",
+ sapi_string[sapi], msg_id);
msg = pcu_msgb_alloc(PCU_IF_MSG_DATA_CNF_2, bts->nr);
if (!msg)