Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290201
b: refs/heads/master
c: 5a5e7c3
h: refs/heads/master
i:
  290199: ed6e850
v: v3
  • Loading branch information
Danny Kukawka authored and David S. Miller committed Feb 17, 2012
1 parent 47de7c8 commit da01ec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baf1d3788e513cadfa26d400b1ae7a13c949f0ff
refs/heads/master: 5a5e7c36448664a58d13aab5a9006b01f6a58910
4 changes: 3 additions & 1 deletion trunk/drivers/net/ethernet/xilinx/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ static int temac_set_mac_address(struct net_device *ndev, void *address)
memcpy(ndev->dev_addr, address, ETH_ALEN);

if (!is_valid_ether_addr(ndev->dev_addr))
random_ether_addr(ndev->dev_addr);
eth_hw_addr_random(ndev);
else
dev->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 da01ec6

Please sign in to comment.