diff options
author | Julien Massot <jmassot@aldebaran-robotics.com> | 2012-08-07 18:57:05 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-14 08:57:05 +0300 |
commit | 5e4bbf588b8095107c84978ae29a326a0696ab2a (patch) | |
tree | 5b69270c02aa189a47b199a8c0b9316b499c0331 | |
parent | 3f539364a2d0db7887bd943cd7bf6206f0d4dd5b (diff) | |
download | connman-5e4bbf588b8095107c84978ae29a326a0696ab2a.tar.gz connman-5e4bbf588b8095107c84978ae29a326a0696ab2a.tar.bz2 connman-5e4bbf588b8095107c84978ae29a326a0696ab2a.zip |
technology: Rename save_state function by technology_save
-rw-r--r-- | src/technology.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/technology.c b/src/technology.c index 6d020cb3..f5aeb95d 100644 --- a/src/technology.c +++ b/src/technology.c @@ -310,7 +310,7 @@ static const char *get_name(enum connman_service_type type) return NULL; } -static void save_state(struct connman_technology *technology) +static void technology_save(struct connman_technology *technology) { GKeyFile *keyfile; gchar *identifier; @@ -338,7 +338,7 @@ done: return; } -static void load_state(struct connman_technology *technology) +static void technology_load(struct connman_technology *technology) { GKeyFile *keyfile; gchar *identifier; @@ -371,7 +371,7 @@ static void load_state(struct connman_technology *technology) else technology->enable_persistent = FALSE; - save_state(technology); + technology_save(technology); g_clear_error(&error); } done: @@ -587,7 +587,7 @@ static int technology_enable(struct connman_technology *technology, * Hence we save the state here. */ technology->enable_persistent = TRUE; - save_state(technology); + technology_save(technology); } __connman_rfkill_block(technology->type, FALSE); @@ -665,7 +665,7 @@ static int technology_disable(struct connman_technology *technology, if (msg != NULL) { technology->enable_persistent = FALSE; - save_state(technology); + technology_save(technology); } __connman_rfkill_block(technology->type, TRUE); @@ -977,7 +977,7 @@ static struct connman_technology *technology_get(enum connman_service_type type) technology->pending_reply = NULL; - load_state(technology); + technology_load(technology); if (g_dbus_register_interface(connection, technology->path, CONNMAN_TECHNOLOGY_INTERFACE, |