Skip to content

Commit

Permalink
ll_temac: Fix build.
Browse files Browse the repository at this point in the history
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Feb 20, 2012
1 parent 5055d2f commit 5277f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/xilinx/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5277f7a

Please sign in to comment.