hw/net/lan9118: Fix RX Status FIFO PEEK value
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jan 2021 18:04:00 +0000 (18:04 +0000)
committerSoonKyu Park <sk7.park@samsung.com>
Tue, 23 Nov 2021 04:45:26 +0000 (13:45 +0900)
commitb303abd8a35cfc2d7412963b7fcf1a1a2b09ab83
treeb430250bacc8fc2223909700a8a76f88fff8c6c7
parente9d6c6f274dad90638177219366a67a7b98ad459
hw/net/lan9118: Fix RX Status FIFO PEEK value

Git-commit: e7e29fdbbe07fb762d85af9c4d8eeff9b0f52a8e

A copy-and-paste error meant that the return value for register offset 0x44
(the RX Status FIFO PEEK register) returned a byte from a bogus offset in
the rx status FIFO. Fix the typo.

Cc: qemu-stable@nongnu.org
Fixes: https://bugs.launchpad.net/qemu/+bug/1904954
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210108180401.2263-2-peter.maydell@linaro.org
Signed-off-by: Bruce Rogers <brogers@suse.com>
hw/net/lan9118.c