Commit e89f00e6a3fcba77ce5ffd616a2ca93de5c8fcab

Authored by aurel32
1 parent 1fc3d392

Revert "Fix ne2000_can_receive() function".

When the card is stopped, it should always accept packets, and then
discard them. Thanks to Paul Brook for the explanations.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4128 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/ne2000.c
... ... @@ -217,7 +217,7 @@ static int ne2000_can_receive(void *opaque)
217 217 NE2000State *s = opaque;
218 218  
219 219 if (s->cmd & E8390_STOP)
220   - return 0;
  220 + return 1;
221 221 return !ne2000_buffer_full(s);
222 222 }
223 223  
... ...