summaryrefslogtreecommitdiffstats
path: root/binding-wifi/wifi-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding-wifi/wifi-api.c')
-rw-r--r--binding-wifi/wifi-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding-wifi/wifi-api.c b/binding-wifi/wifi-api.c
index 45341e3..2117d6d 100644
--- a/binding-wifi/wifi-api.c
+++ b/binding-wifi/wifi-api.c
@@ -678,13 +678,13 @@ gboolean initial_homescreen(gpointer ptr)
if (ret < 0) {
g_object_unref(status);
- return TRUE;
+ return FALSE;
}
error = setHMIStatus(status->connected == 1 ? BAR_FULL : BAR_NO);
g_error_free(error);
- return ret != NULL;
+ return error != NULL;
}
static void *thread_func()