Skip to content
Snippets Groups Projects
Commit 4a53815a authored by Jan Kiszka's avatar Jan Kiszka Committed by Aurelien Jarno
Browse files

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: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 84ba3e18
No related branches found
No related tags found
No related merge requests found
...@@ -936,6 +936,7 @@ static void pcnet_start(PCNetState *s) ...@@ -936,6 +936,7 @@ static void pcnet_start(PCNetState *s)
s->csr[0] &= ~0x0004; /* clear STOP bit */ s->csr[0] &= ~0x0004; /* clear STOP bit */
s->csr[0] |= 0x0002; s->csr[0] |= 0x0002;
pcnet_poll_timer(s);
} }
static void pcnet_stop(PCNetState *s) static void pcnet_stop(PCNetState *s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment