win-pvdrivers

changeset 770:7956021a5e60

fix invalid mac address detection typo
author James Harper <james.harper@bendigoit.com.au>
date Sun Jan 31 22:49:50 2010 +1100 (2010-01-31)
parents 817b48d23cf8
children 358a1bf4efaf
files xennet/xennet.c
line diff
     1.1 --- a/xennet/xennet.c	Sun Jan 31 22:49:24 2010 +1100
     1.2 +++ b/xennet/xennet.c	Sun Jan 31 22:49:50 2010 +1100
     1.3 @@ -173,7 +173,7 @@ XenNet_ConnectBackend(struct xennet_info
     1.4            }
     1.5            s = e + 1;
     1.6          }
     1.7 -        if ((xi->curr_mac_addr[0] & 0x03) == 0x02)
     1.8 +        if ((xi->curr_mac_addr[0] & 0x03) != 0x02)
     1.9          {
    1.10            /* only copy if curr_mac_addr is not a LUA */
    1.11            memcpy(xi->curr_mac_addr, xi->perm_mac_addr, ETH_ALEN);