Pac-rom doesn't have camera connect problem and flashlight also works,is amazing.
I also try your cm12.1,still have camera can't connect problem.
Maybe focus on developing pac-rom?
Thanks your hard works!
I don't why,but I install this recovery
And reflash rom,gapps,xposed...wipe cache
Now reboot about ten time,and wifi works fine every time.
Thanks!
Edit: reboot about twenty time, wifi always work