hw/net/lan9118: Fix RX Status FIFO PEEK value
commite7e29fdbbe07fb762d85af9c4d8eeff9b0f52a8e
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jan 2021 18:04:00 +0000 (8 18:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jan 2021 21:19:02 +0000 (12 21:19 +0000)
treee293ff9039b6d903b3eb2696183fcad42e99b532
parente4d51ac6921dc861bfb3d20e4c7dcf345840a9da
hw/net/lan9118: Fix RX Status FIFO PEEK value

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
hw/net/lan9118.c