summaryrefslogtreecommitdiff
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
parent477afee37ca29e156e3309874d100de0bf4e6fd0 (diff)
downloadqemu-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
-rw-r--r--hw/ne2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 44f30c2afb..6043fc3254 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);
}