After I upgraded to IOS6 I started to get problems with wireless connections in my iPhone. Wireless connections randomly stopped working. After some investigations I found several suggested fixes. But the one that worked for me was to reset the network settings.
The only sad this is that all your wireless networks and vpn connections is forgotten.
You can find the reset property here
Settings
General
Reset
Reset Network Connection
Ios6 wifi problem solution