mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
cardem (minor): trace tx data send over USB
Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
This commit is contained in:
@@ -223,6 +223,9 @@ static void flush_rx_buffer(struct card_handle *ch)
|
||||
rd = (struct cardemu_usb_msg_rx_data *) msg->l2h;
|
||||
rd->data_len = msgb_l2len(msg) - sizeof(*rd);
|
||||
|
||||
TRACE_INFO("%u: %s (%u)\n\r",
|
||||
ch->num, __func__, rd->data_len);
|
||||
|
||||
usb_buf_upd_len_and_submit(msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user