I had the same problem here in my Samsung Galaxy Note 5. Trying to turn on wifi, it was starting to turn on and off again and again every two or three seconds. tried every solution in this topic and none of them worked for me.
Tried to hard reset (Power+Volume Up+Home) my phone and in first...