staging: Convert random_ether_addr to eth_random_addr

random_ether_addr is a #define for eth_random_addr which is
generally preferred in kernel code by ~3:1

Convert the uses of random_ether_addr to enable removing the #define

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Joe Perches 2018-06-23 10:27:58 -07:00 committed by Greg Kroah-Hartman
parent b244f917ac
commit 6d2b0f7b9c
1 changed files with 1 additions and 1 deletions

View File

@ -2382,7 +2382,7 @@ static void ieee80211_start_ibss_wq(struct work_struct *work)
if (ieee->state == IEEE80211_NOLINK) {
printk("creating new IBSS cell\n");
if(!ieee->wap_set)
random_ether_addr(ieee->current_network.bssid);
eth_random_addr(ieee->current_network.bssid);
if(ieee->modulation & IEEE80211_CCK_MODULATION){