searchdomain_remove_all(service);
service->state = new_state;
+#if defined TIZEN_EXT
+ if (!is_connected(old_state) && is_connected(new_state))
+ connman_device_send_connected_signal(
+ connman_network_get_device(service->network), true);
+ else if (is_connected(old_state) && !is_connected(new_state))
+ connman_device_send_connected_signal(
+ connman_network_get_device(service->network), false);
+#endif
state_changed(service);
if (!is_connected(old_state) && is_connected(new_state))
#if defined TIZEN_EXT
if (service->type == CONNMAN_SERVICE_TYPE_WIFI)
set_priority_connected_service();
-
- if (!is_connected(old_state))
- connman_device_send_connected_signal(
- connman_network_get_device(service->network), true);
#endif
break;
(old_state == CONNMAN_SERVICE_STATE_READY &&
new_state != CONNMAN_SERVICE_STATE_ONLINE)) {
__connman_notifier_disconnect(service->type);
-#if defined TIZEN_EXT
- connman_device_send_connected_signal(
- connman_network_get_device(service->network), false);
-#endif
}
if (new_state == CONNMAN_SERVICE_STATE_ONLINE) {