(NOTE: I HAVE NO CELLULAR CONNECTION)
Before I rooted my phone; Wi-Fi was working just perfectly running on NA2 (Jelly Bean).
Then I rooted it, installed CWM Recovery and then I installed Unofficial CyanogenMod 11 Custom ROM by Temasek.
Then while setting up CyanogenMod, it asked me for an account. It told me to sign up for an account so I pressed on sign-up. It asked me for an internet connection. I chose my Wi-Fi, and I entered my password. It just says Saved and when I tap connect, it shows Connecting... for about half a second and it still says Saved.
I have rebooted, have tried a factory reset/cache reset/reset dalvik and still not working....
I have also tried a different random password and it still says Saved. Does the same thing.
When I try it with different routers, still same.
Also, when I connect, I am right next to the router, signal says Strong. I typed password and changed to "Weak" signal.