OSDN Git Service

hw/net: npcm7xx_emc fix missing queue_flush
authorPatrick Venture <venture@google.com>
Fri, 3 Dec 2021 22:10:02 +0000 (14:10 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
commit530cd6c26df47c4f294c6335c9829e6c968fe7a8
tree4eb5188203fca94ecfcf90c3ae741f40b1fbea17
parent52a9f60935d394953dd6b47d01bb7eb47bc2592f
hw/net: npcm7xx_emc fix missing queue_flush

The rx_active boolean change to true should always trigger a try_read
call that flushes the queue.

Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20211203221002.1719306-1-venture@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/npcm7xx_emc.c