qemu-usb: ignore invalid USB data packets

Fix genodelabs/genode#4574
This commit is contained in:
Stefan Kalkowski 2022-07-25 11:35:51 +02:00 committed by Christian Helmuth
parent a6a856cb70
commit 49c6e01049

View File

@ -790,7 +790,8 @@ static void usb_host_handle_data(USBDevice *udev, USBPacket *p)
return;
default:
error("not supported data request");
break;
p->status = USB_RET_NAK;
return;
}
try {