I opened the iphone, builded a "heatshield" from aluminium kitchen paper, formed it so that only the top right corner (looking on device from aft side) is exposed. I didn´t use a hair dryer. I used a heat gun with a small apperture. Set it to about 250 degrees Celsius and pointed it for about 30 seconds onto the described area. WIFI was back on right after boot. It is working without any errors since then.
I am SHURE that it is NOT a software issue. There is maybe a poor solder point in the area were the WIFI antenna is.( behind the headphone jack). The WIFI chip and power amplifier is ok, only the connection between the PA and the antenna is faulty. You will see this as the iphone still connects to the access point wenn it is close enough. And when I say close, I mean close,... about 2 centimeters away from the access point antenna, it still gets a connection.
Using this heatgun method will work so far. I think the problem will be back someday because the poor solder point will break again as temperature varies, the material expands and contracts. For example when you are using your iphone in your car as navigation device, it gets very warm, then you are changing into an air conditioned room, the material contracts. This is the only reason, no software bug*.
* iOS 6 seems to make a self test on the WIFI during boot. If it notices that the SWR (standing wave ratio) is not as desired, the WIFI button is greyed out. This is, why some people may think it is a hardware bug, but everything starts with a poor solder point.