fixed wifi detection