Message ID | 20180530061711.23673-5-clg@kaod.org |
---|---|
State | New |
Headers | show |
Series | net: ftgmac100 enhancements | expand |
diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c index 8a7f274dc118..909c1182eebe 100644 --- a/hw/net/ftgmac100.c +++ b/hw/net/ftgmac100.c @@ -822,12 +822,6 @@ static ssize_t ftgmac100_receive(NetClientState *nc, const uint8_t *buf, return size; } - if (size < 64 && !(s->maccr & FTGMAC100_MACCR_RX_RUNT)) { - qemu_log_mask(LOG_GUEST_ERROR, "%s: dropped runt frame of %zd bytes\n", - __func__, size); - return size; - } - if (!ftgmac100_filter(s, buf, size)) { return size; }
This is a ethernet wire limitation not needed in emulation. It breaks U-Boot n/w stack also. Signed-off-by: Cédric Le Goater <clg@kaod.org> --- hw/net/ftgmac100.c | 6 ------ 1 file changed, 6 deletions(-)