projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f53936
)
technology: Rename save_state function by technology_save
author
Julien Massot
<jmassot@aldebaran-robotics.com>
Tue, 7 Aug 2012 16:57:05 +0000
(18:57 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 14 Aug 2012 05:57:05 +0000
(08:57 +0300)
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index
6d020cb
..
f5aeb95
100644
(file)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-310,7
+310,7
@@
static const char *get_name(enum connman_service_type type)
return NULL;
}
return NULL;
}
-static void
save_stat
e(struct connman_technology *technology)
+static void
technology_sav
e(struct connman_technology *technology)
{
GKeyFile *keyfile;
gchar *identifier;
{
GKeyFile *keyfile;
gchar *identifier;
@@
-338,7
+338,7
@@
done:
return;
}
return;
}
-static void
load_state
(struct connman_technology *technology)
+static void
technology_load
(struct connman_technology *technology)
{
GKeyFile *keyfile;
gchar *identifier;
{
GKeyFile *keyfile;
gchar *identifier;
@@
-371,7
+371,7
@@
static void load_state(struct connman_technology *technology)
else
technology->enable_persistent = FALSE;
else
technology->enable_persistent = FALSE;
-
save_stat
e(technology);
+
technology_sav
e(technology);
g_clear_error(&error);
}
done:
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;
* Hence we save the state here.
*/
technology->enable_persistent = TRUE;
-
save_stat
e(technology);
+
technology_sav
e(technology);
}
__connman_rfkill_block(technology->type, FALSE);
}
__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;
if (msg != NULL) {
technology->enable_persistent = FALSE;
-
save_stat
e(technology);
+
technology_sav
e(technology);
}
__connman_rfkill_block(technology->type, TRUE);
}
__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;
technology->pending_reply = NULL;
-
load_state
(technology);
+
technology_load
(technology);
if (g_dbus_register_interface(connection, technology->path,
CONNMAN_TECHNOLOGY_INTERFACE,
if (g_dbus_register_interface(connection, technology->path,
CONNMAN_TECHNOLOGY_INTERFACE,