diff options
author | Joe Perches <joe@perches.com> | 2018-06-23 10:27:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 22:14:01 +0900 |
commit | 6d2b0f7b9c1e8028f9a3efb99f539cb2f6d3d669 (patch) | |
tree | 6f39fa026eaf046a656abfe969cca2b5738de9c6 /drivers/staging | |
parent | b244f917acb7e1f492c40f6f4cf7be860a5065a5 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c index 21874e78d8a1..9d9a9e102bb8 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c @@ -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){ |