usbnet: Add missing usb_wakeup() call in usbnet_receive()
commita89003780d0a96b79314da4a4cdb148ff1dcb397
authorMichael Brown <mcb30@ipxe.org>
Tue, 6 Sep 2022 18:30:50 +0000 (6 19:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Sep 2022 05:32:30 +0000 (27 07:32 +0200)
tree15970fd034582dfb77e463e8d83993ac2a7b7842
parent145cdaba0f7ea721080e1289dc7a31bb2066406f
usbnet: Add missing usb_wakeup() call in usbnet_receive()

usbnet_receive() does not currently wake up the USB endpoint, leading
to a dead RX datapath when used with a host controller such as xHCI
that relies on being woken up.

Fix by adding a call to usb_wakeup() at the end of usbnet_receive().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Message-Id: <20220906183053.3625472-2-mcb30@ipxe.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-network.c