Why check LINKADDR_SIZE here? LINKADDR_SIZE should not matter if we would like to retrieve or set the 64 bit address in the radio. And this code already checks that the destination memory area is large enough to contain the 64 bit address.