map: ignore psid and psidlen if psidlen is 0