Sounds like an encyrption issue. Make sure your wifi on the unit that doesnt work is compatable with the encryption of the router eg unit only supports wep and router is on wpa.
Id turn off the encyrption (on the router)for a minute, try to connect, if it works then try it on wep, then move higher to wpa etc.
good luck.