nexus: Switch controllers to use abstracted properties and refactor command protocol
Also fixes a select() bug and removes debugging
Signed-off-by: San Mehat <san@google.com>
nexus: fix whitespace
diff --git a/nexus/WifiScanner.cpp b/nexus/WifiScanner.cpp
index 1bc9722..048e784 100644
--- a/nexus/WifiScanner.cpp
+++ b/nexus/WifiScanner.cpp
@@ -65,7 +65,7 @@
struct timeval to;
int rc = 0;
- to.tv_sec = 0;
+ to.tv_usec = 0;
to.tv_sec = mPeriod;
FD_ZERO(&read_fds);
@@ -83,4 +83,5 @@
} else if (FD_ISSET(mCtrlPipe[0], &read_fds))
break;
} // while
+ LOGD("Stopping wifi scanner");
}