Skip to content

Commit

Permalink
tilegx net: use eth_hw_addr_random(), not eth_random_addr()
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
  • Loading branch information
Chris Metcalf committed Jul 18, 2012
1 parent 8388546 commit c8ab13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/tile/tilegx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ static void tile_net_dev_init(const char *name, const uint8_t *mac)
memcpy(dev->dev_addr, mac, 6);
dev->addr_len = 6;
} else {
eth_random_addr(dev->dev_addr);
eth_hw_addr_random(dev);
}

/* Register the network device. */
Expand Down

0 comments on commit c8ab13f

Please sign in to comment.