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:
a6ad2aa
)
technology: Move SetProperty to async method call
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Fri, 17 Aug 2012 07:16:42 +0000
(10:16 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 17 Aug 2012 10:04:55 +0000
(13:04 +0300)
Handle properly -EINPROGRESS error when enabling/disabling technology.
This fixes the existing timeout-based implementation.
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index
9ee4c79
..
8d5de78
100644
(file)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-885,7
+885,7
@@
static const GDBusMethodTable technology_methods[] = {
{ GDBUS_DEPRECATED_METHOD("GetProperties",
NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
get_properties) },
- { GDBUS_METHOD("SetProperty",
+ { GDBUS_
ASYNC_
METHOD("SetProperty",
GDBUS_ARGS({ "name", "s" }, { "value", "v" }),
NULL, set_property) },
{ GDBUS_ASYNC_METHOD("Scan", NULL, NULL, scan) },