About a week ago my DHD running LeeDroid crashed a couple of times for no apparent reason and now the wifi keeps turning itself off in sleep mode, ie. when the screen is off. It usually seems to go off after a while, because if I switch off the screen and turn it on a short while later, wifi is still active. But if I wait longer (I can't say how much longer) then when I turn it on again wifi is off but goes on again by itself. I've tried switching off all power saving options, Tasker automation, etc etc but I can't prevent this from happening. And I never had this problem before. Normally I have Tasker automation in place that reacts on these events, which now are causing undesired things to happen as soon as the screen is off
So my question is, are there any low-level tweaks that I can check that control these things and that may have been altered by the earlier crashes I had? Any hints are highly appreciated. 

