projects
/
platform
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba73119
)
[FIX] does not apply config before start
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Thu, 24 Oct 2013 09:08:59 +0000
(13:08 +0400)
committer
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Thu, 24 Oct 2013 09:08:59 +0000
(13:08 +0400)
until running instrumentation
Change-Id: I3dd73d749ded4b70b1e55578888e40e50ec610e6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
parser/msg_cmd.c
patch
|
blob
|
history
diff --git
a/parser/msg_cmd.c
b/parser/msg_cmd.c
index
fb3b921
..
f8e9c89
100644
(file)
--- a/
parser/msg_cmd.c
+++ b/
parser/msg_cmd.c
@@
-130,6
+130,7
@@
int msg_config(struct msg_buf *mb)
{
int ret = 0;
struct conf_data *conf;
+ enum status_type st;
conf = create_conf_data(mb);
if (conf == NULL)
@@
-141,9
+142,12
@@
int msg_config(struct msg_buf *mb)
goto free_conf_data;
}
- /* TODO implement the processing */
- set_config(conf);
+ st = usm_get_status();
+ if (st == ST_ON)
+ set_config(conf);
+
save_config(conf);
+ usm_put_status(st);
free_conf_data:
destroy_conf_data(conf);