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
This commit is contained in:
Harald Welte 2022-07-11 23:38:48 +02:00
parent e5ed100fd2
commit 001884c5c1
1 changed files with 1 additions and 0 deletions

View File

@ -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);