diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 19:33:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-16 22:38:28 -0700 |
commit | f4f7f4143cf7d6a31bc9797f00f765d0174603cb (patch) | |
tree | 394c526a63fb4c4e56361a47abe1790e2a6e54fd /drivers/net/wireless/rt2x00/rt61pci.c | |
parent | c7e12ead5f92413234b3d9f4f35ae56734decd21 (diff) | |
download | op-kernel-dev-f4f7f4143cf7d6a31bc9797f00f765d0174603cb.zip op-kernel-dev-f4f7f4143cf7d6a31bc9797f00f765d0174603cb.tar.gz |
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/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index ee22bd7..f322596 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c @@ -2415,7 +2415,7 @@ static int rt61pci_validate_eeprom(struct rt2x00_dev *rt2x00dev) */ mac = rt2x00_eeprom_addr(rt2x00dev, EEPROM_MAC_ADDR_0); if (!is_valid_ether_addr(mac)) { - random_ether_addr(mac); + eth_random_addr(mac); EEPROM(rt2x00dev, "MAC: %pM\n", mac); } |