Default Wi-Fi issues when flashing any rom but cm11

As of right now im running CM11 but when I flash anyother rom including CM11 nightlys my Wi-Fi won't turn on. I don't know what caused the issuse. I've replaced wncss_wlan.bin file. other than flashing stock rom (which I can't find a working link) I don't know what else I can do to solve the problem. Any input would be greatly appreciated.