S2 won't connect to wifi after wiping the cache partition

A

AC Question

It won't connect. The only reason I can think of for the problem is wiping the cache partition.
Any fix?