summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 7d02c332..87f503d3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1117,8 +1117,6 @@ int connman_device_remove_network(struct connman_device *device,
service = __connman_service_lookup_from_network(network);
- __connman_network_set_device(network, NULL);
-
g_hash_table_remove(device->networks, identifier);
if (service != NULL)