I am relying on
airport -s called from an application to return information about the available wifi networks. However, sometimes it immediately returns without providing any information. I've also experienced this when running it directly on the command line.
Anyone know why that is happening and what I can do about it?