|
@@ -301,7 +301,7 @@ static void axienet_set_mac_address(struct net_device *ndev,
|
|
|
if (address)
|
|
|
memcpy(ndev->dev_addr, address, ETH_ALEN);
|
|
|
if (!is_valid_ether_addr(ndev->dev_addr))
|
|
|
- eth_random_addr(ndev->dev_addr);
|
|
|
+ eth_hw_addr_random(ndev);
|
|
|
|
|
|
/* Set up unicast MAC address filter set its mac address */
|
|
|
axienet_iow(lp, XAE_UAW0_OFFSET,
|