htc g1 cannot discover/connect to a 802.11 n/b/g wifi
I had the same issue with my HTC Hero.  I never got around to fixing it but I remember reading that the router needs to be forced to stay in b/g mode.

Check this post seems to confirm that idea:
http://forum.xda-developers.com/archive/index.php/t-492536.html