From: Marcel Holtmann Date: Fri, 17 Jul 2009 15:33:48 +0000 (+0200) Subject: Don't remove network from service during remove grace period X-Git-Tag: 2.0_alpha~3464 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99e3256f6569fba111623e8131afa6f7e1ab539e;p=framework%2Fconnectivity%2Fconnman.git Don't remove network from service during remove grace period --- diff --git a/src/service.c b/src/service.c index 497b027..c090bfb 100644 --- a/src/service.c +++ b/src/service.c @@ -816,11 +816,6 @@ void __connman_service_put(struct connman_service *service) __connman_service_disconnect(service); - if (service->network != NULL) { - connman_network_unref(service->network); - service->network = NULL; - } - service->state = CONNMAN_SERVICE_STATE_FAILURE; service->error = CONNMAN_SERVICE_ERROR_OUT_OF_RANGE; state_changed(service);