Hi, there's some time that I have strange problems with stock kernels (in both custom roms and stock roms). The problems are that when I want to turn on the wifi, it takes a long time to turn on (10 seconds and more), but turning it off is very quick (less than 1 second). Another problem is that when I connect to a wifi network and after some time I turn it off, when I turn on the wifi again, after that long time it takes, it shows available wifi networks without connecting to that wifi I used before. In another words, with stock kernels, it doesn't remember my wifi password and I have to enter the password every time I want to use wifi! but,I don't have these problems with custom kernels, but those are also have a big problem.They don't have working deepsleep ability, so when the screen is off, the phone is always awake! what I should I do to solve these strange and ridiculous problems?