Added API for enabling tethering
[profile/ivi/settings-daemon.git] / plugins / connman / connman_manager.cpp
index f6d1abc..38788e0 100644 (file)
@@ -252,7 +252,7 @@ ivi::settings::connman_manager::handle_request(
   if (name != nullptr) {
     if (strcmp(name, "get_technologies") == 0)
       get_technologies(response);
-    if (strcmp(name, "get_services") == 0)
+    else if (strcmp(name, "get_services") == 0)
       get_services(response);
     else {
       response.send_error(