pcnet: Flush queued packets on end of STOP state
commitee76c1f821e75550644e084dea85743bbc934f91
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Aug 2013 19:48:18 +0000 (2 21:48 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 5 Aug 2013 12:11:17 +0000 (5 14:11 +0200)
treee13b3b2b7fcbeff1d37aad401d351d433e09ed6b
parentb9ac5d923b820a0f0152a2df56067e55ce34f487
pcnet: Flush queued packets on end of STOP state

Analogously to other NICs, we have to inform the network layer when
the can_receive handler will no longer report 0. Without this, we may
get stuck waiting on queued incoming packets.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/pcnet.c