projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6753a1
)
manager: move stop ack message sending after stop instrumentation.
31/154931/2
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 11 Oct 2017 08:36:54 +0000
(11:36 +0300)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 11 Oct 2017 13:17:31 +0000
(16:17 +0300)
Change-Id: I123a3f84bcf25e2319f5a273a983b54cd501c036
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_protocol.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol.c
b/daemon/da_protocol.c
index
7395dd8
..
09f6155
100644
(file)
--- a/
daemon/da_protocol.c
+++ b/
daemon/da_protocol.c
@@
-1514,11
+1514,11
@@
int host_message_handler(struct msg_t *msg)
case NMSG_START:
return process_msg_start(&msg_control);
case NMSG_STOP:
- sendACKToHost(msg->id, ERR_NO, 0, 0);
if (stop_all() != ERR_NO) {
LOGE("Stop failed\n");
write_msg_error("Stop failed");
}
+ sendACKToHost(msg->id, ERR_NO, 0, 0);
break;
case NMSG_CONFIG:
// error_code = ERR_NO;