summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notifier.c b/src/notifier.c
index b328a2ad..55cea743 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -106,15 +106,15 @@ connman_bool_t __connman_notifier_is_connected(void)
static const char *evaluate_notifier_state(void)
{
+ if ( __connman_technology_get_offlinemode() == TRUE)
+ return "offline";
+
if (notifier_is_online() == TRUE)
return "online";
if (__connman_notifier_is_connected() == TRUE)
return "ready";
- if ( __connman_technology_get_offlinemode() == TRUE)
- return "offline";
-
return "idle";
}