Revert "[NS A27] Remove useless logs and a useless var"

This reverts commit 04ea217324d0250568b9c3f1cd8ef61ad0ee1630.

Reason for revert: Toggling wifi on/off causes networking to
 stop working with these four patches applied.
Bug: 146230156

Change-Id: I6c75ac179bcc08cc5979194eea69525b333e2ba7
1 file changed