mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Cleanup memcpy warnings
Introduce eth_hw_addr_set from 5.15 Port48eab831aePort6ed178cb23
This commit is contained in:
@@ -404,8 +404,7 @@ int hostapd_mode_init(_adapter *padapter)
|
||||
mac[4] = 0x11;
|
||||
mac[5] = 0x12;
|
||||
|
||||
memcpy(pnetdev->dev_addr, mac, ETH_ALEN);
|
||||
|
||||
eth_hw_addr_set(pnetdev, mac);
|
||||
|
||||
rtw_netif_carrier_off(pnetdev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user