Hey guys.. I faced similar issue in my AMOI 820 based Indian local device Micromax (rooted + custom kernal)
I fixed this stuck wifi problem by uninstalling Google apps in system by removing them using Titanium back up + and again installing them from playstore if needed.. Hangouts(in my case) if it's a system app after getting updated is the culprit .. Try removing it and reboot and test it yourself..
XPERIA MINI PRO - SK17I & Micromax a110
Super Jelly Bean (4.1.2 build CM) + awesome sony media apps from Rizal for Sk17i and Can galaxy rom 4.1.2 build for a110
XPERIA gx LAUNCHER
Bootloader status - unlocked
Viper sound mod
THANK ME IF I'VE HELPED YOU ! MEANS A LOT TO ME