Revert "Fix wifi after latest changes"

This reverts commit 8301c86a54c93806b7dd1f2143ec73958d62f8f0.