Remove ununsed disconnect code
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 5 Jan 2009 03:11:52 +0000 (04:11 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 5 Jan 2009 03:11:52 +0000 (04:11 +0100)
plugins/wifi.c

index abf15a4901245f7d647aff6eabb39f8c0b6d9073..92e578717383f52d9c209c3537503df576116eac 100644 (file)
@@ -67,8 +67,6 @@ static int network_disconnect(struct connman_network *network)
 {
        DBG("network %p", network);
 
-       //connman_element_unregister_children((struct connman_element *) network);
-
        return supplicant_disconnect(network);
 }
 
@@ -123,8 +121,6 @@ static int wifi_disable(struct connman_device *device)
 
        DBG("device %p", device);
 
-       //connman_element_unregister_children((struct connman_element *) device);
-
        data->connected = FALSE;
 
        return supplicant_stop(device);