Revision c1ded3dc

b/hw/pcnet.c
1048 1048
    int crc_err = 0;
1049 1049
    int size = size_;
1050 1050

  
1051
    if (CSR_DRX(s) || CSR_STOP(s) || CSR_SPND(s) || !size)
1051
    if (CSR_DRX(s) || CSR_STOP(s) || CSR_SPND(s) || !size ||
1052
        (CSR_LOOP(s) && !s->looptest)) {
1052 1053
        return -1;
1053

  
1054
    }
1054 1055
#ifdef PCNET_DEBUG
1055 1056
    printf("pcnet_receive size=%d\n", size);
1056 1057
#endif

Also available in: Unified diff