mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-29 06:20:26 +00:00
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:
parent
477afee37c
commit
f9e7bcfe6b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user