nexus: Move to a line based protocol (similar to FTP) + fix bugs
Signed-off-by: San Mehat <san@google.com>
diff --git a/nexus/TiwlanWifiController.cpp b/nexus/TiwlanWifiController.cpp
index 10606a1..2dc1eb3 100644
--- a/nexus/TiwlanWifiController.cpp
+++ b/nexus/TiwlanWifiController.cpp
@@ -67,15 +67,6 @@
}
bool TiwlanWifiController::isFirmwareLoaded() {
- char driver_status[PROPERTY_VALUE_MAX];
- if (property_get(DRIVER_PROP_NAME, driver_status, NULL)) {
- if (!strcmp(driver_status, "ok"))
- return true;
- else {
- LOGD("Driver status '%s'", driver_status);
- return false;
- }
- }
- LOGW("Unable to get property '%s'", DRIVER_PROP_NAME);
+ // Always load the firmware
return false;
}