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:
c3c4d4f
)
Device is not offline when enabled succeeds or is in progress
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 12 Aug 2010 11:03:11 +0000
(13:03 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 12 Aug 2010 11:03:11 +0000
(13:03 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index 7633cee907c9d61fad9565f73d64f43265c867f5..fcbfd860067a4588d8615dc24fe0f66e4e3258d8 100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1092,11
+1092,9
@@
int __connman_device_enable_persistent(struct connman_device *device)
err = __connman_device_enable(device);
if (err == 0 || err == -EINPROGRESS) {
- if (__connman_profile_get_offlinemode() == TRUE) {
- device->offlinemode = FALSE;
+ device->offlinemode = FALSE;
+ if (__connman_profile_get_offlinemode() == TRUE)
__connman_profile_set_offlinemode(FALSE, FALSE);
- }
-
}
return err;