Update usb_xhci.cc (#262) : The EDTLA should be updated for OUT going packets too.

The EDTLA should be updated for OUT going packets too.
This commit is contained in:
Benjamin David Lunt 2024-02-04 22:08:31 -07:00 committed by GitHub
parent 17a7a30c10
commit 3525a89b7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2406,6 +2406,7 @@ Bit64u bx_usb_xhci_c::process_transfer_ring(int slot, int ep, Bit64u ring_addr,
} else {
ret = BX_XHCI_THIS broadcast_packet(&p->packet, port_num - 1);
len = transfer_length;
BX_XHCI_THIS hub.slots[slot].ep_context[ep].edtla += len;
BX_DEBUG(("OUT: Transferred %d bytes (ret = %d)", len, ret));
}
break;