Happened to me once. I had to disable something in the WiFi settings that DC's the phone if the WiFi signal wasn't good enough.
It gives me a MAC address that differs from the MAC address on my HTC TYTN 1 which can connect, would that be the issue maybe?