diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 23:33:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 09:38:28 +0400 |
commit | f4f7f4143cf7d6a31bc9797f00f765d0174603cb (patch) | |
tree | 394c526a63fb4c4e56361a47abe1790e2a6e54fd /drivers/net/wireless/adm8211.c | |
parent | c7e12ead5f92413234b3d9f4f35ae56734decd21 (diff) | |
download | linux-f4f7f4143cf7d6a31bc9797f00f765d0174603cb.tar.xz |
wireless: Use eth_random_addr
Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r-- | drivers/net/wireless/adm8211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index 97afcec24759..689a71c1af71 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c @@ -1854,7 +1854,7 @@ static int __devinit adm8211_probe(struct pci_dev *pdev, if (!is_valid_ether_addr(perm_addr)) { printk(KERN_WARNING "%s (adm8211): Invalid hwaddr in EEPROM!\n", pci_name(pdev)); - random_ether_addr(perm_addr); + eth_random_addr(perm_addr); } SET_IEEE80211_PERM_ADDR(dev, perm_addr); |