If you are attempting to obtain a WIFI lock, what if the WIFI is already off? Do i need to check the state of the WIFI, turn it on if not on, and then acquire a WIFI lock or will the act of grabbing a WIFI lock turn on the WIFI?
Might you have a source example of checking WIFI state, and turning it on if off.
Thanks