/* Request the current MAC address of the device (the working mac address). (the function is Blocking until response received)  */
NMI_API sint8 m2m_wifi_get_mac_address(uint8 *pu8MacAddr)
/* Request the current MAC address of the device (the working mac address). (the function is Blocking until response received)  */
NMI_API sint8 m2m_wifi_get_mac_address(uint8 *pu8MacAddr)
{
	sint8 ret = M2M_SUCCESS;
	ret = hif_chip_wake();
	if(ret == M2M_SUCCESS)
	{
		ret = nmi_get_mac_address(pu8MacAddr);
		if(ret == M2M_SUCCESS)
		{
			ret = hif_chip_sleep();
		}
	}
	return ret;
}