aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:29:00 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-28 22:29:00 +0000
commitf9e7bcfe6b8d32431374c86542a1d671681a7db1 (patch)
tree3729073b9ef701dab813f64f2bb1f79d74a0d79d /hw/ne2000.c
parentAdd missing initial values for PIIX3 function 0 (PIRQRC) (diff)
downloadqemu-kvm-f9e7bcfe6b8d32431374c86542a1d671681a7db1.tar.gz
qemu-kvm-f9e7bcfe6b8d32431374c86542a1d671681a7db1.tar.bz2
qemu-kvm-f9e7bcfe6b8d32431374c86542a1d671681a7db1.zip
Fix ne2000_can_receive() function
(Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4117 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r--hw/ne2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 44f30c2af..6043fc325 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -217,7 +217,7 @@ static int ne2000_can_receive(void *opaque)
NE2000State *s = opaque;
if (s->cmd & E8390_STOP)
- return 1;
+ return 0;
return !ne2000_buffer_full(s);
}