Fix ne2000_can_receive() function

(Samuel Thibault)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4117 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2008-03-28 22:29:00 +00:00
parent 477afee37c
commit f9e7bcfe6b

View File

@ -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);
}