Harald Welte has submitted this change and it was merged. (
https://gerrit.osmocom.org/10318 )
Change subject: cardem (minor): trace tx data send over USB
......................................................................
cardem (minor): trace tx data send over USB
Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
---
M firmware/libcommon/source/card_emu.c
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
diff --git a/firmware/libcommon/source/card_emu.c
b/firmware/libcommon/source/card_emu.c
index fa09829..af90351 100644
--- a/firmware/libcommon/source/card_emu.c
+++ b/firmware/libcommon/source/card_emu.c
@@ -223,6 +223,9 @@
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);
}
--
To view, visit https://gerrit.osmocom.org/10318
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
Gerrit-Change-Number: 10318
Gerrit-PatchSet: 2
Gerrit-Owner: Kévin Redon <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Kévin Redon <[email protected]>