From 001884c5c142feb3a563dfd854e804b594399e8d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 11 Jul 2022 23:38:48 +0200 Subject: [PATCH] bankd: Log not just ModemToCard but also CardToModem This way we'll get a full trace of commands and repsonses. Right now the log only shows one direction which is a bit odd. Related: OS#5615 Change-Id: Ia2de0b850ce78074a411cf0edebfb3ad19253d34 --- src/bankd/bankd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bankd/bankd_main.c b/src/bankd/bankd_main.c index 8c1c9a8..b28eec9 100644 --- a/src/bankd/bankd_main.c +++ b/src/bankd/bankd_main.c @@ -746,6 +746,7 @@ static int worker_handle_tpduModemToCard(struct bankd_worker *worker, const Rspr if (rc < 0) return rc; + LOGW(worker, "Tx RSPRO tpduCardToModem(%s)\n", osmo_hexdump_nospc(rx_buf, rx_buf_len)); /* encode response PDU and send it */ pdu_resp = rspro_gen_TpduCard2Modem(&mdm2sim->toBankSlot, &mdm2sim->fromClientSlot, rx_buf, rx_buf_len);