I have a Samsung Galaxy S II 9100. I had no problem connecting to wifi while it was running 2.3.4 or 2.3.6 official firmware. 2 days ago I upgraded to official 4.0.3 and now it connects to all other wifi networks except my home wireless. I did a clean flash, wiped data, cache, dalvik cache etc. I'm using a Linksys WRT300N wireless-N router and all other devices are able to connect (my laptop, other Android phones). Also, before I installed ICS I tried MIUI 2.3.16 which is based on Android 4.0.3 and had the same problem. Can anybody help me?
Try reloading the wifi driver dial
*#*#526#*#* (or) install the "wifi-fixer" app from the market.