From ad323081aa0e20d3d573ea64e88a893d576c05e0 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 7 Oct 2009 18:19:42 +0200 Subject: [PATCH] pcnet: Restart poll timer on pcnet_start Just like we call into pcnet_poll_timer on stop, we need to call it on start to trigger the setup of the poll timer. Patchworks-ID: 35313 Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- hw/pcnet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/pcnet.c b/hw/pcnet.c index 4ba1dcc8ae..afeaca7f1d 100644 --- a/hw/pcnet.c +++ b/hw/pcnet.c @@ -935,6 +935,7 @@ static void pcnet_start(PCNetState *s) s->csr[0] &= ~0x0004; /* clear STOP bit */ s->csr[0] |= 0x0002; + pcnet_poll_timer(s); } static void pcnet_stop(PCNetState *s)