xblc: Call usb_packet_skip to consume data when handling USB_TOKEN_OUT

This commit is contained in:
Matt Borgerson
2026-02-18 23:23:38 -07:00
committed by mborgerson
parent 2056839b6b
commit 49cd4ce5d0
+1 -1
View File
@@ -277,7 +277,7 @@ static void xblc_handle_data(USBDevice *dev, USBPacket *p)
break;
}
if (p->pid == USB_TOKEN_IN && p->iov.size > p->actual_length) {
if (p->iov.size > p->actual_length) {
usb_packet_skip(p, p->iov.size - p->actual_length);
}
}