/* Synchronous API to obtain the firmware version currently running on the WINC IC.  */
sint8 m2m_wifi_get_firmware_version(tstrM2mRev *pstrRev)
/* Synchronous API to obtain the firmware version currently running on the WINC IC.  */
sint8 m2m_wifi_get_firmware_version(tstrM2mRev *pstrRev)
{
	sint8 ret = M2M_SUCCESS;
	ret = hif_chip_wake();
	if(ret == M2M_SUCCESS)
	{
		ret = nm_get_firmware_full_info(pstrRev);
		hif_chip_sleep();
	}
	return ret;
}