Enable IP configuration when entering configuration state
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 5 Jan 2010 00:45:44 +0000 (16:45 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 5 Jan 2010 00:45:44 +0000 (16:45 -0800)
src/service.c

index 2970ad073f9045d6d8003125792973527f1aa2ac..841ef85fa8f265c8cae9b37161c501f3613c942f 100644 (file)
@@ -1510,6 +1510,9 @@ int __connman_service_indicate_state(struct connman_service *service,
                __connman_service_disconnect(service);
        }
 
+       if (state == CONNMAN_SERVICE_STATE_CONFIGURATION)
+               __connman_ipconfig_enable(service->ipconfig);
+
        service->state = state;
        state_changed(service);