|
@@ -3482,7 +3482,7 @@ static int bcm43xx_attach_board(struct bcm43xx_private *bcm)
|
|
|
bcm43xx_pctl_set_crystal(bcm, 0);
|
|
|
|
|
|
/* Set the MAC address in the networking subsystem */
|
|
|
- if (bcm43xx_current_phy(bcm)->type == BCM43xx_PHYTYPE_A)
|
|
|
+ if (is_valid_ether_addr(bcm->sprom.et1macaddr))
|
|
|
memcpy(bcm->net_dev->dev_addr, bcm->sprom.et1macaddr, 6);
|
|
|
else
|
|
|
memcpy(bcm->net_dev->dev_addr, bcm->sprom.il0macaddr, 6);
|