ll_temac: Fix build.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5055d2f236
commit
5277f7a6c2
|
@ -329,7 +329,7 @@ static int temac_set_mac_address(struct net_device *ndev, void *address)
|
|||
if (!is_valid_ether_addr(ndev->dev_addr))
|
||||
eth_hw_addr_random(ndev);
|
||||
else
|
||||
dev->addr_assign_type &= ~NET_ADDR_RANDOM;
|
||||
ndev->addr_assign_type &= ~NET_ADDR_RANDOM;
|
||||
|
||||
/* set up unicast MAC address filter set its mac address */
|
||||
mutex_lock(&lp->indirect_mutex);
|
||||
|
|
Loading…
Reference in New Issue