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:
6d3811f
)
device: Support already powered up devices
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 29 Nov 2010 16:43:28 +0000
(17:43 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 29 Nov 2010 16:43:28 +0000
(17:43 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index 91806b74dc5994046aa07b5e870038522c86ba41..7f2b54fd82a0fafb6a409525a45885c4ec89d4d1 100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-632,7
+632,7
@@
int connman_device_set_powered(struct connman_device *device,
else
err = __connman_device_disable(device);
- if (err < 0 && err != -EINPROGRESS)
+ if (err < 0 && err != -EINPROGRESS
&& err != -EALREADY
)
return err;
device->powered = powered;