In that case I am glad they replaced it without question. My point was that my Phone failed 20odd days outside warranty, but it was essentially a manufacturing fault (my one was, at least).
It seems that the wifi module is probably a BGA (Ball Grid Array) component. This is where the module has a matrix of balls underneath it, which are soldered onto the main assembly. If BGA devices are poorly soldered (lead free solder has a lot to answer for!) then they can initially work, but then come "unstuck" from the main assembly (one ball is all it takes). The only way to fix it is to heat the device up in order to re-flow the solder on the balls (and hope that the device doesn't fail during the process).
A few isolated incidents are probably, unfortunately, acceptable in the grand scheme of things, but the seemingly high rate of failures should really be recognised by Apple.