projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: Update profile in enable_persistent callback
[platform/upstream/connman.git]
/
src
/
technology.c
diff --git
a/src/technology.c
b/src/technology.c
index
cb065e2
..
2e91b41
100644
(file)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-693,6
+693,11
@@
int __connman_technology_enabled(enum connman_service_type type)
state_changed(technology);
}
+ if (__connman_profile_get_offlinemode() == TRUE) {
+ __connman_profile_set_offlinemode(FALSE, FALSE);
+ __connman_profile_save_default();
+ }
+
return 0;
}