Not sure what rom you are running, but you can try and run wifical.sh in Terminal app
If you have wifi problems install terminal emulator, and open it. Type su, then press the enter key on your keyboard app. If you're prompted by your superuser app, allow it. Then type wifical.sh . Reboot your phone and hopefully that will take care of it.
Yep...... what they said