mirror of https://gitee.com/openkylin/linux.git
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:
parent
b244f917ac
commit
6d2b0f7b9c
|
@ -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){
|
||||
|
||||
|
|
Loading…
Reference in New Issue