return NULL;
}
-static void save_state(struct connman_technology *technology)
+static void technology_save(struct connman_technology *technology)
{
GKeyFile *keyfile;
gchar *identifier;
return;
}
-static void load_state(struct connman_technology *technology)
+static void technology_load(struct connman_technology *technology)
{
GKeyFile *keyfile;
gchar *identifier;
else
technology->enable_persistent = FALSE;
- save_state(technology);
+ technology_save(technology);
g_clear_error(&error);
}
done:
* Hence we save the state here.
*/
technology->enable_persistent = TRUE;
- save_state(technology);
+ technology_save(technology);
}
__connman_rfkill_block(technology->type, FALSE);
if (msg != NULL) {
technology->enable_persistent = FALSE;
- save_state(technology);
+ technology_save(technology);
}
__connman_rfkill_block(technology->type, TRUE);
technology->pending_reply = NULL;
- load_state(technology);
+ technology_load(technology);
if (g_dbus_register_interface(connection, technology->path,
CONNMAN_TECHNOLOGY_INTERFACE,