Do you mean the option under Setting for Wi-Fi is greyed out? That can't be good,
I'd recommend a restore to factory settings unless someone else has a better idea. That's what Apple would eventually tell you to do anyway before you send it in to them.