net/npcm7xx_emc.c: Fix handling of receiving packets when RSDR not set
commita62ee00aa063b8fa27076ec5100b2475fcd677ed
authorDoug Evans <dje@google.com>
Tue, 30 Mar 2021 13:05:33 +0000 (30 14:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 Mar 2021 13:05:33 +0000 (30 14:05 +0100)
tree3b2a47ba8b4cd2c3d7673aa1bd23aef2b476455a
parent7993b0f83fe5c3f8555e79781d5d098f99751a94
net/npcm7xx_emc.c: Fix handling of receiving packets when RSDR not set

Turning REG_MCMDR_RXON is enough to start receiving packets.

Signed-off-by: Doug Evans <dje@google.com>
Message-id: 20210319195044.741821-1-dje@google.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/npcm7xx_emc.c
tests/qtest/npcm7xx_emc-test.c