1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00

Searching for MAC addr and return output (seems to work fine)

This commit is contained in:
kimocoder 2019-11-11 21:47:20 +01:00
parent ae31db1a4c
commit 73f0a8810d

View File

@ -12826,6 +12826,8 @@ u32 Hal_ReadMACAddrFromFile(PADAPTER padapter, u8 *mac_addr)
int hal_config_macaddr(_adapter *adapter, bool autoload_fail)
{
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(adapter);
struct usb_device *udev = pdvobjpriv->pusbdev;
HAL_DATA_TYPE *hal_data = GET_HAL_DATA(adapter);
u8 addr[ETH_ALEN];
int addr_offset = hal_efuse_macaddr_offset(adapter);
@ -12876,8 +12878,8 @@ bypass_hw_pg:
_rtw_memset(hal_data->EEPROMMACAddr, 0, ETH_ALEN);
ret = _FAIL;
exit:
dev_info(&udev->dev, "88XXau %pM hw_info[%02x]", hw_addr, addr_offset);
return ret;
}