This is a fix for you to be able to see Wifi Networks that are Ad Hoc on your android device.
Connect Samsung Galaxy S to Ad-hoc Network Multiplayer Games Share Fix
I installed it myself and was able to connect to my TP2 via wifi
I attached wpa_supplicant.rar for convenience..remove the .rar at the end (it should have no extension)
IF your trying to link a PC to the cellphone via adhoc you need to set a static IP on both the PC and the Phone
IP: 192.168.2.X
Gateway: 192.168.2.1
Netmask: 255.255.255.0
DNS1: 8.8.8.8
DNS2: 8.8.4.4