From: Marcel Holtmann Date: Fri, 15 May 2009 03:18:38 +0000 (-0700) Subject: Store the service name for easy identification X-Git-Tag: 0.19~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a5c248f12f8b3886fd20727e77ef8b0e6458210;p=platform%2Fupstream%2Fconnman.git Store the service name for easy identification --- diff --git a/src/service.c b/src/service.c index 4ce0ed3..05e0be8 100644 --- a/src/service.c +++ b/src/service.c @@ -1157,6 +1157,10 @@ static int service_save(struct connman_service *service) g_free(data); update: + if (service->name != NULL) + g_key_file_set_string(keyfile, service->identifier, + "Name", service->name); + switch (service->type) { case CONNMAN_SERVICE_TYPE_UNKNOWN: case CONNMAN_SERVICE_TYPE_ETHERNET: