Update the way to use readmac

Change-Id: If8ad652b49b6a10b19bcfdf45088f9fd9994adde