Got connection problems: How to reset wifi stack without factory reset?
Solution was in my case: Deactivate AFwall+ 2.0alpha2. The app caused connection problem.

A solution that didn't help:
Updating your modem/non-hlos to the latest version for your country/carrier.