summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMark Cave-Ayland2019-06-30 19:21:50 +0200
committerMark Cave-Ayland2019-07-02 23:49:08 +0200
commit29df47a5cc4133a31259c24ffdf26bf25080558a (patch)
tree91e79f11adc00475af94a2f12241c9d05f13adbf /python
parentsunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is raised (diff)
downloadqemu-29df47a5cc4133a31259c24ffdf26bf25080558a.tar.gz
qemu-29df47a5cc4133a31259c24ffdf26bf25080558a.tar.xz
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 'python')
0 files changed, 0 insertions, 0 deletions