summary refs log tree commit diff stats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-06-30 18:21:50 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-07-02 22:49:08 +0100
commit29df47a5cc4133a31259c24ffdf26bf25080558a (patch)
tree91e79f11adc00475af94a2f12241c9d05f13adbf /hw/timer/lm32_timer.c
parent1058e1a377680e17bc8b56d5e9cab9559d47a3c1 (diff)
downloadfocaccia-qemu-29df47a5cc4133a31259c24ffdf26bf25080558a.tar.gz
focaccia-qemu-29df47a5cc4133a31259c24ffdf26bf25080558a.zip
sunhme: fix return values from sunhme_receive() during receive packet processing
The current return values in sunhme_receive() when processing incoming packets
are inverted from what they should be. Make sure that we return 0 to indicate
the packet was discarded (and polling is to be disabled) and -1 to indicate
that the packet was discarded but polling for incoming data is to be continued.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions