To help with this we'd need to know what device you're working with as each device will have its own "service menu" which is what you're trying to deal with. But why are you using that to turn the WiFi radio on and off instead of using the switch within the OS interface?
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Android Central.
Welcome to Android Central! Can you also tell us what the problem you're trying to fix is? Is your wi-fi stuck on and you're trying to find some other way to turn it off?