do not submit bulk transfers to the interrupt ep..
Change-Id: Ib5b0be2fda0b5336ca4c929a837ccc1e03567f7d
This commit is contained in:
parent
7a4a3117d0
commit
cd8f989fee
|
@ -108,7 +108,7 @@ function main() runs on CCID_Emulation_CT {
|
|||
[] USB.receive(tr_UsbXfer_compl(g_ep_irq, USB_TRANSFER_TYPE_INTERRUPT,
|
||||
USB_TRANSFER_COMPLETED, g_dev_hdl, ?)) -> value tc {
|
||||
/* Submit another IRQ transfer */
|
||||
f_usb_submit_xfer(g_ep_irq);
|
||||
f_usb_submit_xfer(g_ep_irq, ttype := USB_TRANSFER_TYPE_INTERRUPT);
|
||||
/* forward to all slot-specific ports with connected components */
|
||||
/*
|
||||
ccid_in := dec_CCID_PDU(tc.data);
|
||||
|
@ -122,7 +122,7 @@ function main() runs on CCID_Emulation_CT {
|
|||
[] USB.receive(tr_UsbXfer_compl(g_ep_irq, USB_TRANSFER_TYPE_INTERRUPT,
|
||||
USB_TRANSFER_TIMED_OUT, g_dev_hdl, ?)) -> value tc {
|
||||
/* Submit another IRQ transfer */
|
||||
f_usb_submit_xfer(g_ep_irq);
|
||||
f_usb_submit_xfer(g_ep_irq, ttype := USB_TRANSFER_TYPE_INTERRUPT);
|
||||
}
|
||||
[] USB.receive(tr_UsbXfer_compl(?, ?, USB_TRANSFER_ERROR, g_dev_hdl, ?)) -> value tc {
|
||||
setverdict(fail, "Unexpected USB_TRANSFER_ERROR on EP ", int2hex(tc.endpoint, 2));
|
||||
|
|
Loading…
Reference in New Issue