summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorDaniel Wagner <wagi@monom.org>2011-07-07 19:47:26 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-07 19:07:24 +0200
commit523bf2d22b7b219a8f2600c4869405391f52726a (patch)
treeb96e3ecaa144389e551c830aa19f26f221afb7e7 /src/connection.c
parent2922923e413a88e5469d89e3edb2e777db4c3aca (diff)
downloadconnman-523bf2d22b7b219a8f2600c4869405391f52726a.tar.gz
connman-523bf2d22b7b219a8f2600c4869405391f52726a.tar.bz2
connman-523bf2d22b7b219a8f2600c4869405391f52726a.zip
service: Use __connman_service_ipconfig_indicate_state()
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/connection.c b/src/connection.c
index a4025883..a6ac4627 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -477,7 +477,8 @@ int __connman_connection_gateway_add(struct connman_service *service,
new_gateway->ipv4_gateway != NULL) {
__connman_service_nameserver_add_routes(service,
new_gateway->ipv4_gateway->gateway);
- __connman_service_set_ipconfig_ready(service,
+ __connman_service_ipconfig_indicate_state(service,
+ CONNMAN_SERVICE_STATE_READY,
CONNMAN_IPCONFIG_TYPE_IPV4);
}
@@ -485,7 +486,8 @@ int __connman_connection_gateway_add(struct connman_service *service,
new_gateway->ipv6_gateway != NULL) {
__connman_service_nameserver_add_routes(service,
new_gateway->ipv6_gateway->gateway);
- __connman_service_set_ipconfig_ready(service,
+ __connman_service_ipconfig_indicate_state(service,
+ CONNMAN_SERVICE_STATE_READY,
CONNMAN_IPCONFIG_TYPE_IPV6);
}