From 73f0a8810da1f3dd84991cf3efda405cbab43f89 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Mon, 11 Nov 2019 21:47:20 +0100 Subject: [PATCH] Searching for MAC addr and return output (seems to work fine) --- hal/hal_com.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hal/hal_com.c b/hal/hal_com.c index 04a541b..dcf8edf 100644 --- a/hal/hal_com.c +++ b/hal/hal_com.c @@ -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; }