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:
7346b13
)
Ingnore the offline operation of the blocked device
author
Martin Xu
<martin.xu@intel.com>
Fri, 27 Aug 2010 06:10:32 +0000
(14:10 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 28 Aug 2010 06:42:29 +0000
(08:42 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
e782bb5
..
7bd9e47
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1340,6
+1340,9
@@
static void set_offlinemode(struct connman_element *element, gpointer user_data)
device->offlinemode = offlinemode;
+ if (device->blocked == TRUE)
+ return;
+
powered = (offlinemode == TRUE) ? FALSE : TRUE;
if (device->powered == powered)