Revision 5fafdf24 hw/smc91c111.c

b/hw/smc91c111.c
1
/* 
1
/*
2 2
 * SMSC 91C111 Ethernet interface emulation
3 3
 *
4 4
 * Copyright (c) 2005 CodeSourcery, LLC.
......
649 649
    /* Pad short packets.  */
650 650
    if (size < 64) {
651 651
        int pad;
652
        
652
       
653 653
        if (size & 1)
654 654
            *(p++) = buf[size - 1];
655 655
        pad = 64 - size;

Also available in: Unified diff