Revert "Fix for wifi sleep issue"

This reverts commit 1fab273bc470c804074f93bc537d809a1c9b8e8a.
Fixed problem with wifi sleep issue!