Hey yous guys.
My problem with grey wifi switch started from upgrading to 6.1.2. I have tried virtually every idea given here - reseting, restoring, freezing, jailbreaking, upgrading to 6.1.3 - you name it. Freezing made it work for couple of minutes, jailbreaking got me dancing for three weeks 'till yesterday, when it went back grey (I'm thinking it must have been coincidence that it started to work after jb). The only thing I haven't try is to heat it up. I'm thinking it must have something to do with that wifi module soldering, since it reacts to temperature and it's somehow related to iOS 6 firmware upgrade (overheating while loading?). Next week I will take it to technician to have wifi module resoldered, we'll see if it will do any good. Got iphone from my dad from States, I use it in Poland now, of course out of warranty, so It's all on me now. If you find any solution, let us know!
Good luck!
PS: I own 4s 16GB, if that helps to relate to.