dect
/
linux-2.6
Archived
13
0
Fork 0

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:
David S. Miller 2012-02-20 00:46:06 -05:00
parent 5055d2f236
commit 5277f7a6c2
1 changed files with 1 additions and 1 deletions

View File

@ -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);