cardem (minor): trace tx data send over USB

Change-Id: I69cef43dd5a78e9f82cc045cdb90c326b03d1f68
This commit is contained in:
Kévin Redon
2018-08-02 17:47:57 +02:00
parent 9cccb2bab5
commit 910e6830b9

View File

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