From: Jan Kiszka Date: Wed, 7 Oct 2009 16:19:42 +0000 (+0200) Subject: pcnet: Restart poll timer on pcnet_start X-Git-Tag: v0.11.1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a53815a9e82a14daf7c57fdb6573ab045d9cb36;p=thirdparty%2Fqemu.git 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 --- diff --git a/hw/pcnet.c b/hw/pcnet.c index 22ab6beaf3c..008b71a53b2 100644 --- a/hw/pcnet.c +++ b/hw/pcnet.c @@ -936,6 +936,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)