--- src/service.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/service.c b/src/service.c index d8fe898..fcbfc87 100644 --- a/src/service.c +++ b/src/service.c @@ -3437,9 +3437,6 @@ static int service_indicate_state(struct connman_service *service) old_state = service->state; new_state = combine_state(service->state_ipv4, service->state_ipv6); - if (old_state == new_state) - return -EALREADY; - DBG("service %p old %s - new %s/%s => %s", service, state2string(old_state), @@ -3447,6 +3444,9 @@ static int service_indicate_state(struct connman_service *service) state2string(service->state_ipv6), state2string(new_state)); + if (old_state == new_state) + return -EALREADY; + service->state = new_state; state_changed(service); -- 1.7.1 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman