X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e87769159cfd4349b0f59515a3576215f656cd43..31800c29b03fe4268985b9761b4ccdabfad7a041:/target/linux/rdc/files/drivers/net/r6040.c diff --git a/target/linux/rdc/files/drivers/net/r6040.c b/target/linux/rdc/files/drivers/net/r6040.c index 29e731d81..237b7fa09 100644 --- a/target/linux/rdc/files/drivers/net/r6040.c +++ b/target/linux/rdc/files/drivers/net/r6040.c @@ -1326,7 +1326,7 @@ int __devinit r6040_init_one(struct pci_dev *pdev, dev->name); memcpy(dev->dev_addr, dflt_addr, ETH_ALEN); } - dev->dev_addr[ETH_ALEN-1] += card_idx; /* + 0 or 1 */ + dev->dev_addr[ETH_ALEN-1] += card_idx ^ 1; /* + 0 or 1 */ } #ifdef CONFIG_NET_POLL_CONTROLLER