is this with bluetooth running? I just had an experience when on a phone call using bluetooth, wifi was on, showing connected, but wouldn't connect to internet unless the phone call was disconnected. maybe this is standard action (i don't use bluetooth all that much), maybe someone can chime in on that.
otherwise, the other thing would be restoring backups of wifi settings, this will kill your wifi on this rom.
---------- Post added at 09:58 PM ---------- Previous post was at 09:45 PM ----------
and I'm betting you restored wifi settings with a backup program. you'll have to factory reset to get rid of that data, and not restore anything the next time.