aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/net/imx_fec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index 768181e3c1..7369cfafe5 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -454,6 +454,8 @@ static void imx_fec_write(void *opaque, hwaddr addr,
}
if ((s->ecr & FEC_EN) == 0) {
s->rx_enabled = 0;
+ s->rx_descriptor = s->erdsr;
+ s->tx_descriptor = s->etdsr;
}
break;
case 0x040: /* MMFR */