]> Git Repo - qemu.git/commit
hw/net: fix mcf_fec driver receiver
authorGreg Ungerer <[email protected]>
Fri, 26 Jun 2015 05:27:16 +0000 (15:27 +1000)
committerStefan Hajnoczi <[email protected]>
Mon, 27 Jul 2015 13:12:04 +0000 (14:12 +0100)
commit491a1f494ed4c0d1a8593dd04b645f8e63c4cfae
treec280a5dc8b5a1255de97a5de35c8a11e2cb7bc03
parent299f7bec5a109db7563e1286cedf1f4d84e69e6d
hw/net: fix mcf_fec driver receiver

The network mcf_fec driver emulated receive side method is returning a
result of 0 causing the network layer to disable receive for this emulated
device. This results in the guest only ever receiving one packet.

Fix the recieve side processing to return the number of bytes that we
passed back through to the guest.

Signed-off-by: Greg Ungerer <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 1435296436[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/net/mcf_fec.c
This page took 0.025923 seconds and 4 git commands to generate.