summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-12 21:33:08 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-17 07:38:28 +0200
commitf4f7f4143cf7d6a31bc9797f00f765d0174603cb (patch)
tree394c526a63fb4c4e56361a47abe1790e2a6e54fd /drivers/net/wireless/p54
parentnet: usb: Use eth_random_addr (diff)
downloadlinux-f4f7f4143cf7d6a31bc9797f00f765d0174603cb.tar.xz
linux-f4f7f4143cf7d6a31bc9797f00f765d0174603cb.zip
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/p54')
-rw-r--r--drivers/net/wireless/p54/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/eeprom.c b/drivers/net/wireless/p54/eeprom.c
index 636daf2860cc..14037092ba89 100644
--- a/drivers/net/wireless/p54/eeprom.c
+++ b/drivers/net/wireless/p54/eeprom.c
@@ -857,7 +857,7 @@ good_eeprom:
wiphy_warn(dev->wiphy,
"Invalid hwaddr! Using randomly generated MAC addr\n");
- random_ether_addr(perm_addr);
+ eth_random_addr(perm_addr);
SET_IEEE80211_PERM_ADDR(dev, perm_addr);
}