projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8186de
)
Revert "service: don't keep ref to a removed network"
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Mon, 30 Aug 2010 15:21:09 +0000
(18:21 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 8 Sep 2010 18:06:22 +0000
(20:06 +0200)
This reverts commit
485625099ef90e11099157dd72fbbebe04a74680
.
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
a6ca3dd
..
6bc43d2
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-3651,12
+3651,6
@@
void __connman_service_remove_from_network(struct connman_network *network)
if (service == NULL)
return;
- if (service->network == NULL)
- return;
-
- connman_network_unref(service->network);
- service->network = NULL;
-
__connman_service_put(service);
}