You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
net: rfkill: rfkill-wlan: fix compilation error
implicit declaration of function ‘random_ether_addr’ Change-Id: Ibf8c391b43f25b638062686a5e4f396bf79223f0 Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>
This commit is contained in:
@@ -434,7 +434,7 @@ static int get_wifi_addr_vendor(unsigned char *addr)
|
||||
LOG("%s: rk_vendor_read wifi mac address failed (%d)\n",
|
||||
__func__, ret);
|
||||
#ifdef CONFIG_WIFI_GENERATE_RANDOM_MAC_ADDR
|
||||
random_ether_addr(addr);
|
||||
eth_random_addr(addr);
|
||||
LOG("%s: generate random wifi mac address: "
|
||||
"%02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
__func__, addr[0], addr[1], addr[2], addr[3], addr[4],
|
||||
|
||||
Reference in New Issue
Block a user