Hi guys,
I had the same issue with the grayed out wifi since 3 days now and it happend after I updated to the latest iOS version recently, but I was able to resolve the problem temporally by switching my router on and off, suddenly my IPhone 4s would picks up my wifi again and works normally.
I was traveling the other day and I noticed the problem again in the hotel, of course I can't switch the hotel router off and on so I had to deal with this problem during my stay, I connected my iPhone to charge it and it gt heated up a little bit, after leaving it in this situation for 10 min the wifi worked again for the whole night and morning time as well.
I left the hotel and the wifi got grayed out again so I switched th phone off and on and suddenly the wifi bottun was active and didn't get into gray mode at all untill I went back to the hotel, the connection worked briefly then got lost and grayed out.
I am not sure if this is a software or hardware problem, but for sure this is appls problem!,,, I hope they get their act together and fix it.
Btw, I am out of warranty since 2 month