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:
2762e28
)
Fix missing auto-connect trigger on Ethernet device removal
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 23 Jul 2009 15:18:45 +0000
(17:18 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 23 Jul 2009 15:18:45 +0000
(17:18 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
ce13496
..
d515771
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1533,12
+1533,18
@@
struct connman_service *__connman_service_create_from_device(struct connman_devi
void __connman_service_remove_from_device(struct connman_device *device)
{
struct connman_service *service;
+ connman_bool_t favorite;
service = __connman_service_lookup_from_device(device);
if (service == NULL)
return;
+ favorite = service->favorite;
+
__connman_service_put(service);
+
+ if (favorite == TRUE)
+ __connman_service_auto_connect();
}
/**