i have got the same issue few days back ......Do not worry
just power off the phone and then remove the battery and again insert it after 30 to 40 sec .......when ur phone will on wifi will be totaly fixed......i know its not any technical trick but it will work ...the reason behind it is that...