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:
c698881
)
service: Send signal only if immutable flag value changes
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Tue, 5 Mar 2013 14:06:19 +0000
(16:06 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 8 Mar 2013 11:09:30 +0000
(13:09 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
edc6ef3
..
53a839c
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-4722,6
+4722,10
@@
int __connman_service_set_immutable(struct connman_service *service,
{
if (service->hidden == TRUE)
return -EOPNOTSUPP;
+
+ if (service->immutable == immutable)
+ return 0;
+
service->immutable = immutable;
immutable_changed(service);