projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2572886
)
Fix login monitor
80/308680/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 28 Mar 2024 22:58:19 +0000
(07:58 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 28 Mar 2024 22:58:19 +0000
(07:58 +0900)
Before setting UID_STATE_ONLINE to the state of the user info, amd
should check whether the state is UID_STATE_ONLINE or not.
Change-Id: I716da3c33f1509e13d85cdcf1039410c73d66cbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_login_monitor.c
patch
|
blob
|
history
diff --git
a/src/lib/amd_login_monitor.c
b/src/lib/amd_login_monitor.c
index
1864fe6
..
ee09308
100644
(file)
--- a/
src/lib/amd_login_monitor.c
+++ b/
src/lib/amd_login_monitor.c
@@
-539,9
+539,9
@@
static void __launchpad_ping_result_cb(unsigned int id, int result,
_W("[PAD_CMD_PING] uid: %u, result: %d", uid, result);
user = __find_user(uid);
- if (user) {
+ if (user
&& user->state == UID_STATE_OPENING
) {
user->state = UID_STATE_ONLINE;
- __user_login(user);
+
__user_login(user);
}
}